Merge into master from pull request #55:
Trivial: Removed extra whitespaces from field accessors template (https://github.com/floodlight/loxigen/pull/55)
diff --git a/java_gen/templates/_field_accessors.java b/java_gen/templates/_field_accessors.java
index b0b3b76..c7aa3a0 100644
--- a/java_gen/templates/_field_accessors.java
+++ b/java_gen/templates/_field_accessors.java
@@ -1,12 +1,10 @@
//:: import os
-
//:: for prop in msg.interface.members:
-
//:: getter_template_file_name = "%s/custom/%s_%s.java" % (template_dir, msg.name if not builder else msg.name + '.Builder', prop.getter_name)
//:: if os.path.exists(getter_template_file_name):
//:: include(getter_template_file_name, msg=msg, builder=builder, has_parent=has_parent)
-//:: else:
+//:: else:
@Override
public ${prop.java_type.public_type} ${prop.getter_name}()${ "" if prop in msg.members else "throws UnsupportedOperationException"} {
//:: if prop in msg.members:
@@ -31,6 +29,7 @@
//:: setter_template_file_name = "%s/custom/%s_%s.java" % (template_dir, msg.name if not builder else msg.name + '.Builder', prop.setter_name)
//:: if os.path.exists(setter_template_file_name):
//:: include(setter_template_file_name, msg=msg, builder=builder, has_parent=has_parent)
+
//:: else:
@Override
public ${msg.interface.name}.Builder ${prop.setter_name}(${prop.java_type.public_type} ${prop.name})${ "" if prop in msg.members else " throws UnsupportedOperationException"} {