Skip to content

Commit

Permalink
remove unnecessary cast and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Nov 15, 2023
1 parent 40dcd69 commit b3adcf7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public Object getEmbededObject(Object def) {
public String toString() {
if (mode == null) {
if (res != null) {
mode = ModeUtil.toStringMode(((FileResource) res).getMode());
mode = ModeUtil.toStringMode(res.getMode());
}
else {
mode = ModeUtil.toStringMode(FileResource.getMode(path));
Expand Down
2 changes: 0 additions & 2 deletions core/src/main/java/lucee/runtime/config/ConfigWebFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
import org.xml.sax.SAXException;

import lucee.Info;
import lucee.print;
import lucee.commons.collection.MapFactory;
import lucee.commons.date.TimeZoneConstants;
import lucee.commons.date.TimeZoneUtil;
Expand Down Expand Up @@ -2038,7 +2037,6 @@ else if (hasCS) {
}
}
catch (Throwable t) {
print.e(t);
ExceptionUtil.rethrowIfNecessary(t);
log(config, null, t);
}
Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project default="core" basedir="." name="Lucee"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">

<property name="version" value="6.0.1.25-SNAPSHOT"/>
<property name="version" value="6.0.1.26-SNAPSHOT"/>

<taskdef uri="antlib:org.apache.maven.resolver.ant" resource="org/apache/maven/resolver/ant/antlib.xml">
<classpath>
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>6.0.1.25-SNAPSHOT</version>
<version>6.0.1.26-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down

0 comments on commit b3adcf7

Please sign in to comment.