Skip to content

Commit

Permalink
cleanup misc
Browse files Browse the repository at this point in the history
  • Loading branch information
swissiety committed Nov 27, 2023
1 parent 5d202ec commit d0d4bef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
<maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<licence-check.failOnMissingHeader>true</licence-check.failOnMissingHeader>
<reactorRootsTarget>${basedir}/target</reactorRootsTarget>
</properties>
Expand Down
19 changes: 1 addition & 18 deletions sootup.core/src/main/java/sootup/core/model/Body.java
Original file line number Diff line number Diff line change
Expand Up @@ -346,24 +346,7 @@ public static BodyBuilder builder(@Nonnull Body body, Set<MethodModifier> modifi
return new BodyBuilder(body, modifiers);
}

/**
* The BodyBuilder helps to create a new Body in a fluent way (see Builder Pattern)
*
* <pre>
* <code>
* Stmt stmt1, stmt2, stmt3;
* ...
* Body.BodyBuilder builder = Body.builder();
* builder.setMethodSignature( ... );
* builder.setStartingStmt(stmt1);
* stmtGraph.putEdge(stmt1,stmt2);
* stmtGraph.putEdge(stmt2,stmt3);
* ...
* Body body = builder.build();
*
* </code>
* </pre>
*/
/** The BodyBuilder helps to create a new Body in a fluent way (see Builder Pattern) */
public static class BodyBuilder {
@Nonnull private Set<Local> locals = new LinkedHashSet<>();
@Nonnull private Set<MethodModifier> modifiers = Collections.emptySet();
Expand Down

0 comments on commit d0d4bef

Please sign in to comment.