File tree Expand file tree Collapse file tree
impl/src/main/java/org/jboss/forge/roaster/model/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,7 +125,8 @@ else if (Modifier.isPrivate(mod))
125125 }
126126 }
127127
128- public MethodImpl (final O parent , final String method ) {
128+ public MethodImpl (final O parent , final String method )
129+ {
129130 init (parent );
130131
131132 String stub = "public class Stub { " + method + " }" ;
@@ -135,7 +136,8 @@ public MethodImpl(final O parent, final String method) {
135136 this .method = (MethodDeclaration ) ASTNode .copySubtree (cu .getAST (), newMethod );
136137 }
137138
138- private List <MethodSource <JavaClassSource >> getMethodSources (final String stub ) {
139+ private List <MethodSource <JavaClassSource >> getMethodSources (final String stub )
140+ {
139141 JavaClassSource temp = (JavaClassSource ) Roaster .parse (stub );
140142 List <Problem > problems = Roaster .validateSnippet (stub );
141143 if (!problems .isEmpty ()) {
@@ -151,8 +153,8 @@ private List<MethodSource<JavaClassSource>> getMethodSources(final String stub)
151153 public String toSignature () {
152154 StringBuilder signature = new StringBuilder ();
153155 signature .append (Visibility .PACKAGE_PRIVATE == this .getVisibility () ? ""
154- : this .getVisibility ()
155- .scope ());
156+ : this .getVisibility ()
157+ .scope ());
156158 signature .append (" " );
157159 signature .append (this .getName ()).append ("(" );
158160 List <ParameterSource <O >> parameters = this .getParameters ();
You can’t perform that action at this time.
0 commit comments