Clean up warnings and remove unused code

This commit is contained in:
Sam Brannen
2022-07-03 18:56:47 +02:00
parent ce5076ffe8
commit adb2eef749
5 changed files with 8 additions and 8 deletions

View File

@@ -20,14 +20,17 @@ import java.lang.reflect.Method;
/**
* @author Brian Clozel
* @since 6.0
*/
public class SampleReflection {
@SuppressWarnings("unused")
public void sample() {
String value = "Sample";
Method[] methods = String.class.getMethods();
}
@SuppressWarnings("unused")
public void multipleCalls() {
String value = "Sample";
Method[] methods = String.class.getMethods();