Skip to content

Commit cc2a22b

Browse files
committed
change checkFileExists() scope
1 parent 4597a9f commit cc2a22b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

operator/src/main/java/oracle/kubernetes/operator/TuningParameters.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,4 @@ public boolean equals(Object o) {
261261
public PodTuning getPodTuning();
262262

263263
public String getFileContents(String path);
264-
265-
public boolean checkFileExists(String path);
266264
}

operator/src/main/java/oracle/kubernetes/operator/TuningParametersImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public String getFileContents(String path) {
152152
return result;
153153
}
154154

155-
public boolean checkFileExists(String path) {
155+
private boolean checkFileExists(String path) {
156156
File f = new File(path);
157157
boolean result = false;
158158
if (f.exists() && f.isFile()) {

0 commit comments

Comments
 (0)