Skip to content

Commit 2f90105

Browse files
committed
fix
1 parent 2daa37c commit 2f90105

87 files changed

Lines changed: 26480 additions & 885 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

iotdb-core/consensus/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@
133133
<artifactId>junit</artifactId>
134134
<scope>test</scope>
135135
</dependency>
136-
<dependency>
137-
<groupId>com.google.guava</groupId>
138-
<artifactId>guava</artifactId>
139-
</dependency>
140136
</dependencies>
141137
<build>
142138
<plugins>

iotdb-core/datanode/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,6 @@
304304
<groupId>com.github.ben-manes.caffeine</groupId>
305305
<artifactId>caffeine</artifactId>
306306
</dependency>
307-
<dependency>
308-
<groupId>com.google.guava</groupId>
309-
<artifactId>guava</artifactId>
310-
</dependency>
311307
<dependency>
312308
<groupId>com.lmax</groupId>
313309
<artifactId>disruptor</artifactId>

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/warnings/DefaultWarningCollector.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
package org.apache.iotdb.db.queryengine.execution.warnings;
2121

2222
import com.google.common.collect.ImmutableList;
23-
import com.google.errorprone.annotations.concurrent.GuardedBy;
2423

2524
import javax.annotation.concurrent.ThreadSafe;
2625

@@ -32,7 +31,6 @@
3231

3332
@ThreadSafe
3433
public class DefaultWarningCollector implements WarningCollector {
35-
@GuardedBy("this")
3634
private final Set<IoTDBWarning> warnings = new LinkedHashSet<>();
3735

3836
private final int maxWarnings;

iotdb-core/node-commons/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,6 @@
123123
<groupId>commons-cli</groupId>
124124
<artifactId>commons-cli</artifactId>
125125
</dependency>
126-
<dependency>
127-
<groupId>com.google.guava</groupId>
128-
<artifactId>guava</artifactId>
129-
</dependency>
130126
<dependency>
131127
<groupId>com.google.code.findbugs</groupId>
132128
<artifactId>jsr305</artifactId>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* Copyright (C) 2016 The Guava Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5+
* in compliance with the License. You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software distributed under the License
10+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11+
* or implied. See the License for the specific language governing permissions and limitations under
12+
* the License.
13+
*/
14+
15+
package com.google.common.base;
16+
17+
/**
18+
* The subset of the {@link java.util.regex.Matcher} API which is used by this package, and also
19+
* shared with the {@code re2j} library. For internal use only. Please refer to the {@code Matcher}
20+
* javadoc for details.
21+
*/
22+
abstract class CommonMatcher {
23+
public abstract boolean matches();
24+
25+
public abstract boolean find();
26+
27+
public abstract boolean find(int index);
28+
29+
public abstract String replaceAll(String replacement);
30+
31+
public abstract int end();
32+
33+
public abstract int start();
34+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/*
2+
* Copyright (C) 2016 The Guava Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5+
* in compliance with the License. You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software distributed under the License
10+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11+
* or implied. See the License for the specific language governing permissions and limitations under
12+
* the License.
13+
*/
14+
15+
package com.google.common.base;
16+
17+
/**
18+
* The subset of the {@link java.util.regex.Pattern} API which is used by this package, and also
19+
* shared with the {@code re2j} library. For internal use only. Please refer to the {@code Pattern}
20+
* javadoc for details.
21+
*/
22+
abstract class CommonPattern {
23+
public abstract CommonMatcher matcher(CharSequence t);
24+
25+
public abstract String pattern();
26+
27+
public abstract int flags();
28+
29+
// Re-declare this as abstract to force subclasses to override.
30+
@Override
31+
public abstract String toString();
32+
33+
public static CommonPattern compile(String pattern) {
34+
return Platform.compilePattern(pattern);
35+
}
36+
37+
public static boolean isPcreLike() {
38+
return Platform.patternCompilerIsPcreLike();
39+
}
40+
}

0 commit comments

Comments
 (0)