Skip to content

Commit de3b131

Browse files
committed
Fixed Lombok logger and AJAX Basic View
1 parent 28aa7b8 commit de3b131

File tree

3 files changed

+23
-26
lines changed

3 files changed

+23
-26
lines changed

pom.xml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -149,27 +149,25 @@
149149
</plugins>
150150
</pluginManagement>
151151
<plugins>
152-
<plugin>
153-
<groupId>org.apache.maven.plugins</groupId>
154-
<artifactId>maven-compiler-plugin</artifactId>
155-
<version>3.12.1</version>
156-
<configuration>
157-
<source>1.8</source>
158-
<target>1.8</target>
159-
<encoding>${project.build.sourceEncoding}</encoding>
160-
<annotationProcessorPaths>
161-
<path>
162-
<groupId>org.projectlombok</groupId>
163-
<artifactId>lombok</artifactId>
164-
<version>1.18.30</version>
165-
</path>
166-
<path>
167-
<groupId>io.quarkus</groupId>
168-
<artifactId>quarkus-extension-processor</artifactId>
169-
<version>${quarkus.version}</version>
170-
</path>
171-
</annotationProcessorPaths>
172-
</configuration>
152+
<plugin>
153+
<groupId>org.apache.maven.plugins</groupId>
154+
<artifactId>maven-compiler-plugin</artifactId>
155+
<version>3.12.1</version>
156+
<configuration>
157+
<encoding>${project.build.sourceEncoding}</encoding>
158+
<annotationProcessorPaths>
159+
<path>
160+
<groupId>org.projectlombok</groupId>
161+
<artifactId>lombok</artifactId>
162+
<version>1.18.30</version>
163+
</path>
164+
<path>
165+
<groupId>io.quarkus</groupId>
166+
<artifactId>quarkus-extension-processor</artifactId>
167+
<version>${quarkus.version}</version>
168+
</path>
169+
</annotationProcessorPaths>
170+
</configuration>
173171
</plugin>
174172
<plugin>
175173
<groupId>io.github.cleydyr</groupId>

src/main/java/org/primefaces/showcase/util/VirtualMachine.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package org.primefaces.showcase.util;
22

3-
import java.util.logging.Logger;
4-
53
import org.apache.commons.lang3.SystemUtils;
6-
import org.primefaces.showcase.view.misc.PrimeIconsView;
74

85
import io.quarkus.runtime.annotations.RegisterForReflection;
96
import lombok.extern.jbosslog.JBossLog;
@@ -109,7 +106,7 @@ public static String getMemoryStatisticsAsString() {
109106
byteCountToDisplaySize(availableMemory) +
110107
" Max: " +
111108
byteCountToDisplaySize(maxMemory);
112-
Logger.getLogger(VirtualMachine.class.getName()).info(output);
109+
log.info(output);
113110

114111
return output;
115112
}

src/main/java/org/primefaces/showcase/view/ajax/BasicView.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ public void increment() {
9191
}
9292

9393
public void handleKeyEvent() {
94-
text5 = text5.toUpperCase();
94+
if (text5 != null) {
95+
text5 = text5.toUpperCase();
96+
}
9597
}
9698

9799
public String getText1() {

0 commit comments

Comments
 (0)