Latest bnd code
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1350613 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/aQute/lib/json/BooleanHandler.java b/bundleplugin/src/main/java/aQute/lib/json/BooleanHandler.java
index d3b56ea..5dd4990 100644
--- a/bundleplugin/src/main/java/aQute/lib/json/BooleanHandler.java
+++ b/bundleplugin/src/main/java/aQute/lib/json/BooleanHandler.java
@@ -6,24 +6,28 @@
public class BooleanHandler extends Handler {
- @Override void encode(Encoder app, Object object, Map<Object, Type> visited)
- throws IOException, Exception {
- app.append( object.toString());
+ @Override
+ void encode(Encoder app, Object object, Map<Object,Type> visited) throws IOException, Exception {
+ app.append(object.toString());
}
-
- @Override Object decode(boolean s) {
+
+ @Override
+ Object decode(boolean s) {
return s;
}
- @Override Object decode(String s) {
+ @Override
+ Object decode(String s) {
return Boolean.parseBoolean(s);
}
- @Override Object decode(Number s) {
+ @Override
+ Object decode(Number s) {
return s.intValue() != 0;
}
- @Override Object decode() {
+ @Override
+ Object decode() {
return false;
}