summaryrefslogtreecommitdiff
path: root/gnu/javax/print/ipp
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2008-09-01 14:54:32 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2008-09-01 14:54:32 +0000
commitb42079a4f1e4738c5ba9d30b4b9afb0f4bd3f2e3 (patch)
tree0094f22f24089f7a2ca609fd1063f7a6adb34044 /gnu/javax/print/ipp
parente38de7943810d933e6ea69b8a8a26f893399aa6b (diff)
downloadclasspath-b42079a4f1e4738c5ba9d30b4b9afb0f4bd3f2e3.tar.gz
Fix FindBugs issues.
2008-09-01 Andrew John Hughes <gnu_andrew@member.fsf.org> * gnu/java/util/regex/RETokenStart.java: (getMaximumLength()): Add Override annotation. (matchThis(CharIndexed, REMatch)): Likewise. (returnsFixedLengthMatches()): Renamed from returnsFixedLengthmatches and added Override annotation. (findFixedLengthMatches(CharIndexed,REMatch,int)): Add Override annotation. (dump(CPStringBuilder)): Likewise. * gnu/javax/print/ipp/IppRequest.java: (RequestWriter.writeOperationAttributes(AttributeSet)): Throw exception, don't just create and drop it. * javax/management/MBeanServerPermission.java: (MBeanServerPermissionCollection.add(Permission)): Compare against individual Strings not the entire array, and store the result of replace. * javax/swing/text/html/StyleSheet.java: (setBaseFontSize(size)): Store result of trim().
Diffstat (limited to 'gnu/javax/print/ipp')
-rw-r--r--gnu/javax/print/ipp/IppRequest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/javax/print/ipp/IppRequest.java b/gnu/javax/print/ipp/IppRequest.java
index 05a6faae7..3de88715a 100644
--- a/gnu/javax/print/ipp/IppRequest.java
+++ b/gnu/javax/print/ipp/IppRequest.java
@@ -469,7 +469,7 @@ public class IppRequest
}
else
{
- new IppException("Unknown target operation attribute combination.");
+ throw new IppException("Unknown target operation attribute combination.");
}
writeAttributes(attributes);