From d2215b5d8b6c8976a9540a9e4706c7bebca80aa2 Mon Sep 17 00:00:00 2001 From: "mark.j.leonard" Date: Mon, 25 Mar 2019 15:50:45 +0000 Subject: Improve javadoc comments and formatting Issue-ID: AAI-2281 Change-Id: I0f5cce16ce76113b1fee603ad3c191cb6f9fe80f Signed-off-by: mark.j.leonard --- src/test/java/org/onap/aai/babel/TestMicroServiceAuth.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/test/java') 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 -- cgit