Skip to content

Commit

Permalink
change methods to private
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Sep 4, 2023
1 parent 9fdd55f commit 085cb28
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ public static boolean isMacOS() {
return getOs().equals(PlatformDetection.OS_OSX);
}

public static String getPythonArchDetectionCommand() {
private static String getPythonArchDetectionCommand() {
return PYTHON_ARCH_DETECTION_COMMAND;
}

public static String executeUnameM() {
private static String executeUnameM() {
if (UNAME_M != null)
return UNAME_M;
Process proc;
Expand All @@ -177,7 +177,7 @@ public static String executeUnameM() {
return UNAME_M;
}

public static String waitProcessExecutionAndGetOutputText(Process proc) throws IOException {
private static String waitProcessExecutionAndGetOutputText(Process proc) throws IOException {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(proc.getInputStream()));
String inputStreamTxt = "";
boolean first = true;
Expand All @@ -195,7 +195,7 @@ public static String waitProcessExecutionAndGetOutputText(Process proc) throws I
return inputStreamTxt;
}

public static String readBufferedReaderIntoStringIntoString(BufferedReader input) throws IOException {
private static String readBufferedReaderIntoStringIntoString(BufferedReader input) throws IOException {
String text = "";
String line;
while ((line = input.readLine()) != null) {
Expand Down

0 comments on commit 085cb28

Please sign in to comment.