Skip to content

Commit

Permalink
optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
ponfee committed Mar 23, 2024
1 parent 26c0a33 commit 4a623e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ static String completeParenthesis(String text) {
String item = list.get(i);
if (StringUtils.isBlank(item)) {
// skip empty string
} else if (ALL_SYMBOLS.contains(item)) {
continue;
}
if (ALL_SYMBOLS.contains(item)) {
builder.append(item);
} else if (Str.OPEN.equals(Collects.get(list, i - 1)) && Str.CLOSE.equals(Collects.get(list, i + 1))) {
builder.append(item);
Expand Down
2 changes: 1 addition & 1 deletion disjob-samples/disjob-samples-frameless-worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-web</artifactId>
<version>4.5.4</version>
<version>4.5.5</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@

<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
<maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version>
<maven-gpg-plugin.version>3.2.1</maven-gpg-plugin.version>
</properties>

<dependencyManagement>
Expand Down

0 comments on commit 4a623e9

Please sign in to comment.