Skip to content

Commit 56adad0

Browse files
committed
javadoc update
1 parent 214e016 commit 56adad0

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ private void createPV() throws Exception {
872872
}
873873

874874
/**
875-
* verify domain server pods get restarted after a property change
875+
* Verify domain server pods get restarted after a property change.
876876
*
877877
* @param oldPropertyString
878878
* @param newPropertyString
@@ -929,11 +929,12 @@ public void testDomainServerPodRestart(String oldPropertyString, String newPrope
929929
}
930930

931931
/**
932-
* Get runtime server yaml file and verify the changed property is in that file
932+
* Get runtime server yaml file and verify the changed property is in that file.
933933
*
934-
* @param changedProperty
935-
* @param serverName
936-
* @throws Exception
934+
* @param changedProperty - the changed/added property
935+
* @param serverName - server name that is being tested
936+
* @throws Exception - test FAILURE Exception if the changed property is not found in the server
937+
* yaml file
937938
*/
938939
public void findServerPropertyChange(String changedProperty, String serverName) throws Exception {
939940
logger.info("Inside findServerPropertyChange");

integration-tests/src/test/java/oracle/kubernetes/operator/utils/TestUtils.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -500,10 +500,10 @@ public static void kubectlexec(String podName, String namespace, String scriptPa
500500
}
501501

502502
/**
503-
* exec kubectl apply -f yamlFile
503+
* The method to execute kubectl apply -f yamlFile.
504504
*
505-
* @param yamlFile
506-
* @throws Exception
505+
* @param yamlFile - yaml file name
506+
* @throws Exception - errors occurred while execute kubectl apply
507507
*/
508508
public static void kubectlapply(String yamlFile) throws Exception {
509509

@@ -1205,13 +1205,13 @@ public static void copyFile(String fromFile, String toFile) throws Exception {
12051205
}
12061206

12071207
/**
1208-
* append source file to the end of target file
1208+
* Method to append source file to the end of target file.
12091209
*
12101210
* @param sourceFile - source file name
12111211
* @param targetFile - target file name
1212-
* @throws Exception
1212+
* @throws Exception - IOException during FileReader or FileWrite close call
12131213
*/
1214-
public static void concatFile(String sourceFile, String targetFile) throws Exception {
1214+
public static void concatFile(String sourceFile, String targetFile) throws IOException {
12151215
FileReader fr = null;
12161216
FileWriter fw = null;
12171217
try {

0 commit comments

Comments
 (0)