Updated some Javadoc text for compatibility with Checkstyle settings.
Issue-ID: AAI-1444
Change-Id: I9d7541aa24d07e42d7d127f76b8576a7fa7184d4
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
package org.onap.aai.babel.csar;
/**
package org.onap.aai.babel.csar;
/**
- * This class represents an exception encountered when attempting to convert the yml files in a csar archive into xml.
+ * This class represents an exception encountered when attempting to convert the YAML files in a CSAR archive into XML.
*/
public class CsarConverterException extends Exception {
*/
public class CsarConverterException extends Exception {
import java.util.Objects;
import java.util.function.Consumer;
import java.util.stream.Collectors;
import java.util.Objects;
import java.util.function.Consumer;
import java.util.stream.Collectors;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.time.StopWatch;
import org.apache.commons.lang3.tuple.ImmutablePair;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.time.StopWatch;
import org.apache.commons.lang3.tuple.ImmutablePair;
* limitations under the License.
* ============LICENSE_END=========================================================
*/
* limitations under the License.
* ============LICENSE_END=========================================================
*/
package org.onap.aai.babel.logging;
import java.io.BufferedReader;
package org.onap.aai.babel.logging;
import java.io.BufferedReader;
import java.util.Map;
import java.util.Optional;
import java.util.concurrent.TimeUnit;
import java.util.Map;
import java.util.Optional;
import java.util.concurrent.TimeUnit;
import org.apache.commons.lang3.time.StopWatch;
import org.junit.Assert;
import org.apache.commons.lang3.time.StopWatch;
import org.junit.Assert;
+ * Find the most recently modified log file with a name starting with the specified prefix.
+ *
- * @return the most recently created log file.
+ * the root folder storing log files
+ * @param filenamePrefix
+ * the log file name prefix
+ * @return the most recently created log file
+ * if an I/O error occurs
*/
public File getLogFile(String logDirectory, String filenamePrefix) throws IOException {
Path cachedLog = cachedLogMap.get(filenamePrefix);
*/
public File getLogFile(String logDirectory, String filenamePrefix) throws IOException {
Path cachedLog = cachedLogMap.get(filenamePrefix);
* Wait for and read new log entries.
*
* @return new lines appended to the log file
* Wait for and read new log entries.
*
* @return new lines appended to the log file
- * @throws IOException If an I/O error occurs
+ * @throws IOException
+ * If an I/O error occurs
*/
public String getNewLines() throws IOException {
StopWatch stopwatch = new StopWatch();
*/
public String getNewLines() throws IOException {
StopWatch stopwatch = new StopWatch();
import org.onap.aai.babel.xml.generator.data.WidgetConfigurationUtil;
/**
import org.onap.aai.babel.xml.generator.data.WidgetConfigurationUtil;
/**
- * Direct tests of the Model so as to improve code coverage
+ * Direct tests of the Model to improve code coverage.
*/
public class TestToscaParser {
*/
public class TestToscaParser {
* Tests compatibility with the X-ECOMP-* request headers.
*/
@Test
* Tests compatibility with the X-ECOMP-* request headers.
*/
@Test
- public void testECOMPHeaders() {
+ public void testEcompHeaders() {
String transactionId = "transaction-id";
String serviceInstanceId = "service-instance-id";
String transactionId = "transaction-id";
String serviceInstanceId = "service-instance-id";
/**
* Load the Widget to UUID mappings from the Artifact Generator properties.
*
/**
* Load the Widget to UUID mappings from the Artifact Generator properties.
*
- * @throws FileNotFoundException if the properties file is missing
- * @throws IOException if the properties file is not loaded
+ * @throws FileNotFoundException
+ * if the properties file is missing
+ * @throws IOException
+ * if the properties file is not loaded
*/
@BeforeClass
public static void setup() throws FileNotFoundException, IOException {
*/
@BeforeClass
public static void setup() throws FileNotFoundException, IOException {