diff options
author | mark.j.leonard <mark.j.leonard@gmail.com> | 2019-03-25 15:50:45 +0000 |
---|---|---|
committer | mark.j.leonard <mark.j.leonard@gmail.com> | 2019-03-25 16:20:53 +0000 |
commit | d2215b5d8b6c8976a9540a9e4706c7bebca80aa2 (patch) | |
tree | 8b18efedf3aa2b34852e41602f54d04b488dc160 /src/test | |
parent | 6c585913c11b2e1973bfcd0d7671d4114e1c3e66 (diff) |
Improve javadoc comments and formatting
Issue-ID: AAI-2281
Change-Id: I0f5cce16ce76113b1fee603ad3c191cb6f9fe80f
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/onap/aai/babel/TestMicroServiceAuth.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/test/java/org/onap/aai/babel/TestMicroServiceAuth.java b/src/test/java/org/onap/aai/babel/TestMicroServiceAuth.java index c45bd0a..431d01f 100644 --- a/src/test/java/org/onap/aai/babel/TestMicroServiceAuth.java +++ b/src/test/java/org/onap/aai/babel/TestMicroServiceAuth.java @@ -302,9 +302,14 @@ public class TestMicroServiceAuth { } /** + * Write String content to a file, flush and close. + * * @param file + * the file to write to * @param text + * the String content to write to the file * @throws IOException + * if the file cannot be opened for writing, or an I/O error occurs */ private void writeToFile(File file, String text) throws IOException { FileWriter fileWriter = new FileWriter(file); @@ -314,7 +319,7 @@ public class TestMicroServiceAuth { } /** - * Assert authorisation results for an admin user based on the test policy file. + * Assert authorization results for an admin user based on the test policy file. * * @param auth * the Auth Service to test |