Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CesarCoelho committed Oct 24, 2024
1 parent 5eabb2f commit de56e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,7 @@ public static TypeRef getTypeViaXSDAny(Object any) {

return new TypeRef(newField);
} else {
throw new IllegalArgumentException(
"Unexpected XML type in message body of : " + re);
throw new IllegalArgumentException("Unexpected XML type in message body of : " + re);
}
} else {
throw new IllegalArgumentException(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
import esa.mo.tools.stubgen.writers.ClassWriter;
import esa.mo.tools.stubgen.writers.InterfaceWriter;
import esa.mo.tools.stubgen.writers.MethodWriter;
import esa.mo.xsd.AreaType;
import esa.mo.xsd.ServiceType;
import java.io.File;
import java.io.IOException;
import java.util.List;
Expand Down Expand Up @@ -84,9 +82,8 @@ protected void createServiceConsumerInterface(File consumerFolder, String area,
file.addInterfaceOpenStatement(service + "GWT", "com.google.gwt.user.client.rpc.RemoteService", null);

String throwsMALException = createElementType(StdStrings.MAL, null, null, StdStrings.MALEXCEPTION);
CompositeField msgType = createCompositeElementsDetails(file, false,
"return", TypeUtils.createTypeReference(StdStrings.MAL,
TRANSPORT_FOLDER, StdStrings.MALMESSAGE, false),
CompositeField msgType = createCompositeElementsDetails(file, false, "return",
TypeUtils.createTypeReference(StdStrings.MAL, TRANSPORT_FOLDER, StdStrings.MALMESSAGE, false),
false, true, null);

for (OperationSummary op : summary.getOperations()) {
Expand Down

0 comments on commit de56e82

Please sign in to comment.