Fix formatting issues
Formatting issues were fixed in the ConfigsResource.
@@ -50,11 +50,14 @@ public class ConfigsResource implements MiApiResource {
methods.add(Constants.HTTP_PUT);
}
- @Override public Set<String> getMethods() {
+ @Override
+ public Set<String> getMethods() {
+
return methods;
}
- @Override public boolean invoke(MessageContext messageContext,
+ @Override
+ public boolean invoke(MessageContext messageContext,
org.apache.axis2.context.MessageContext axis2MessageContext, SynapseConfiguration synapseConfiguration) {
String httpMethod = axis2MessageContext.getProperty(Constants.HTTP_METHOD_PROPERTY) != null ?
@@ -131,6 +134,7 @@ public class ConfigsResource implements MiApiResource {
}
private JSONObject handleGet(MessageContext messageContext) throws ConfigNotFoundException {
+
String configName = Utils.getQueryParameter(messageContext, CONFIG_NAME);
if (configName == null) {
throw new ConfigNotFoundException("Missing Required Query Parameter : configName");
