Skip to content

Commit

Permalink
Merge pull request #179 from jamezp/LOGMGR-136
Browse files Browse the repository at this point in the history
[LOGMGR-136] Override new methods available in Java 9 for the java.ut…
  • Loading branch information
jamezp authored Mar 16, 2018
2 parents 1dac1be + 93de462 commit 0074dc1
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/main/java/org/jboss/logmanager/LogManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
import java.util.Iterator;
import java.util.ServiceLoader;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.function.BiFunction;
import java.util.function.Function;
import java.util.logging.Filter;

/**
Expand Down Expand Up @@ -214,6 +216,48 @@ public void removePropertyChangeListener(PropertyChangeListener l) {
// no operation - properties are never changed
}

/**
* Does nothing. The {@linkplain org.jboss.logmanager.config.LogContextConfiguration configuration API} should be
* used.
*
* @param mapper not used
*/
public void updateConfiguration(final Function<String, BiFunction<String, String, String>> mapper) throws IOException {
// no operation the configuration API should be used
}

/**
* Does nothing. The {@linkplain org.jboss.logmanager.config.LogContextConfiguration configuration API} should be
* used.
*
* @param ins not used
* @param mapper not used
*/
public void updateConfiguration(final InputStream ins, final Function<String, BiFunction<String, String, String>> mapper) throws IOException {
// no operation the configuration API should be used
}

/**
* Configuration listeners are not currently supported.
*
* @param listener not used
*
* @return this log manager
*/
public java.util.logging.LogManager addConfigurationListener(final Runnable listener) {
// no operation
return this;
}

/**
* Configuration listeners are not currently supported.
*
* @param listener not used
*/
public void removeConfigurationListener(final Runnable listener) {
// no operation
}

/**
* Does nothing. Properties are not supported.
*
Expand Down

0 comments on commit 0074dc1

Please sign in to comment.