From 716aaa5f698c27cada87526be85c705f3b441441 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Fri, 7 Jan 2022 22:43:35 +0100 Subject: Cleanup; No functional changes --- vespajlib/src/main/java/com/yahoo/protect/ClassValidator.java | 11 ++++------- vespajlib/src/main/java/com/yahoo/protect/Process.java | 1 - vespajlib/src/main/java/com/yahoo/protect/Validator.java | 1 - 3 files changed, 4 insertions(+), 9 deletions(-) (limited to 'vespajlib/src/main/java/com/yahoo/protect') diff --git a/vespajlib/src/main/java/com/yahoo/protect/ClassValidator.java b/vespajlib/src/main/java/com/yahoo/protect/ClassValidator.java index ed0b1c05d4d..128b564d2eb 100644 --- a/vespajlib/src/main/java/com/yahoo/protect/ClassValidator.java +++ b/vespajlib/src/main/java/com/yahoo/protect/ClassValidator.java @@ -16,7 +16,7 @@ import java.util.List; * is minimal. *

* - * @author Steinar Knutsen + * @author Steinar Knutsen */ public final class ClassValidator { @@ -25,10 +25,8 @@ public final class ClassValidator { * maskedClass is implemented in testClass. Note, this will by definition * blow up on final methods in maskedClass. * - * @param testClass - * class which wraps or masks another class - * @param maskedClass - * class which is masked or wrapped + * @param testClass class which wraps or masks another class + * @param maskedClass class which is masked or wrapped * @return the methods which seem to miss from testClass to be complete */ public static List unmaskedMethods(Class testClass, @@ -53,8 +51,7 @@ public final class ClassValidator { * Check testClass overrides all protected, public and package private * methods of its immediate super class. See unmaskedMethods(). * - * @param testClass - * the class to check whether completely masks its super class + * @param testClass the class to check whether completely masks its super class * @return the methods missing from testClass to completely override its * immediate super class */ diff --git a/vespajlib/src/main/java/com/yahoo/protect/Process.java b/vespajlib/src/main/java/com/yahoo/protect/Process.java index 1a462f1042e..8caaec88117 100644 --- a/vespajlib/src/main/java/com/yahoo/protect/Process.java +++ b/vespajlib/src/main/java/com/yahoo/protect/Process.java @@ -11,7 +11,6 @@ import java.util.concurrent.atomic.AtomicBoolean; import java.util.logging.Level; import java.util.logging.Logger; - /** * A class for interacting with the global state of the running VM. * diff --git a/vespajlib/src/main/java/com/yahoo/protect/Validator.java b/vespajlib/src/main/java/com/yahoo/protect/Validator.java index 358d75408da..530404cbd52 100644 --- a/vespajlib/src/main/java/com/yahoo/protect/Validator.java +++ b/vespajlib/src/main/java/com/yahoo/protect/Validator.java @@ -1,7 +1,6 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.protect; - /** * Static utility methods for validating input. * -- cgit v1.2.3