diff options
Diffstat (limited to 'libjava/classpath/java/lang/reflect/Field.java')
-rw-r--r-- | libjava/classpath/java/lang/reflect/Field.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libjava/classpath/java/lang/reflect/Field.java b/libjava/classpath/java/lang/reflect/Field.java index b9d9288..29ca795 100644 --- a/libjava/classpath/java/lang/reflect/Field.java +++ b/libjava/classpath/java/lang/reflect/Field.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -691,11 +691,11 @@ extends AccessibleObject implements Member { if (p == null) { - String signature = f.getSignature(); - if (signature == null) - return getType(); - p = new FieldSignatureParser(getDeclaringClass(), - signature); + String signature = f.getSignature(); + if (signature == null) + return getType(); + p = new FieldSignatureParser(getDeclaringClass(), + signature); } return p.getFieldType(); } @@ -711,7 +711,7 @@ extends AccessibleObject implements Member */ public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { - // Inescapable as the VM layer is 1.4 based. T will erase to Annotation anyway. + // Inescapable as the VM layer is 1.4 based. T will erase to Annotation anyway. @SuppressWarnings("unchecked") T ann = (T) f.getAnnotation(annotationClass); return ann; } |