"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "log4j-core-java9/src/main/java/org/apache/logging/log4j/core/time/MutableInstant.java" between
apache-log4j-2.11.1-src.tar.gz and apache-log4j-2.11.2-src.tar.gz

About: Apache Log4j 2 is a logging library for Java. Source distribution (Java).

MutableInstant.java  (apache-log4j-2.11.1-src):MutableInstant.java  (apache-log4j-2.11.2-src)
skipping to change at line 29 skipping to change at line 29
import org.apache.logging.log4j.core.util.Clock; import org.apache.logging.log4j.core.util.Clock;
import org.apache.logging.log4j.util.PerformanceSensitive; import org.apache.logging.log4j.util.PerformanceSensitive;
import java.io.Serializable; import java.io.Serializable;
// This class is here to allow {@link SystemClock}, {@link SystemMillisClock} // This class is here to allow {@link SystemClock}, {@link SystemMillisClock}
// to compile. It will not be copied into the log4j-core module. // to compile. It will not be copied into the log4j-core module.
/** /**
* An instantaneous point on the time line, used for high-precision log event ti mestamps. * An instantaneous point on the time line, used for high-precision log event ti mestamps.
* Modelled on <a href="https://docs.oracle.com/javase/9/docs/api/index.html?jav a/time/class-use/Instant.html">java.time.Instant</a>, * Modeled on <a href="https://docs.oracle.com/javase/9/docs/api/index.html?java /time/class-use/Instant.html">java.time.Instant</a>,
* except that this version is mutable to prevent allocating temporary objects t hat need to be garbage-collected later. * except that this version is mutable to prevent allocating temporary objects t hat need to be garbage-collected later.
* <p> * <p>
* Instances of this class are <em>not</em> thread-safe and should not be shared between threads. * Instances of this class are <em>not</em> thread-safe and should not be shared between threads.
* </p> * </p>
* *
* @since 2.11 * @since 2.11
*/ */
@PerformanceSensitive("allocation") @PerformanceSensitive("allocation")
public class MutableInstant implements Instant, Serializable { public class MutableInstant implements Instant, Serializable {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)