Skip to content

Commit

Permalink
pre J21 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
spbolton committed Jun 3, 2024
1 parent 7bcecb5 commit 2499942
Show file tree
Hide file tree
Showing 15 changed files with 183 additions and 442 deletions.
10 changes: 7 additions & 3 deletions bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<jackson.version>2.16.1</jackson.version>
<jersey.version>2.22.1</jersey.version>
<graalvm.version>22.3.3</graalvm.version>
<dotcms.tika-api.version>2023.09.8</dotcms.tika-api.version>
</properties>
<dependencyManagement>

Expand Down Expand Up @@ -59,7 +58,7 @@
<dependency>
<groupId>com.dotcms.core.plugins</groupId>
<artifactId>com.dotcms.tika-api</artifactId>
<version>${dotcms.tika-api.version}</version>
<version>${project.version}</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -1505,7 +1504,12 @@
<artifactId>mockito-core</artifactId>
<version>5.11.0</version>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.11.0</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- Hamcrest is a framework for writing matcher objects allowing 'match' rules to be defined declaratively. -->
<groupId>org.hamcrest</groupId>
Expand Down
3 changes: 0 additions & 3 deletions core-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@

<properties>
<maven.deploy.skip>false</maven.deploy.skip>
<java.version>11</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.plugin.cargo.version>1.9.0</maven.plugin.cargo.version>
<cargo.tomcat.major.version>9</cargo.tomcat.major.version>
Expand Down
10 changes: 10 additions & 0 deletions dotCMS/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,16 @@
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-suite</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
Expand Down
146 changes: 0 additions & 146 deletions dotCMS/src/main/java/com/liferay/util/Randomizer.java

This file was deleted.

6 changes: 0 additions & 6 deletions dotCMS/src/main/java/com/liferay/util/StringUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,6 @@ public static String merge(String array[], String delimiter) {
return sb.toString();
}

public static String randomize(String s) {
Randomizer r = new Randomizer();

return r.randomize(s);
}

public static String read(ClassLoader classLoader, String name)
throws IOException {
InputStream is=classLoader.getResourceAsStream(name);
Expand Down
Loading

0 comments on commit 2499942

Please sign in to comment.