src/java.logging/share/classes/java/util/logging/MemoryHandler.java
changeset 53876 8bc3d3eeaa53
parent 47216 71c04702a3d5
equal deleted inserted replaced
53875:7a6fb8a48434 53876:8bc3d3eeaa53
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   268      * This method checks if the {@code LogRecord} has an appropriate level and
   268      * This method checks if the {@code LogRecord} has an appropriate level and
   269      * whether it satisfies any {@code Filter}.  However it does <b>not</b>
   269      * whether it satisfies any {@code Filter}.  However it does <b>not</b>
   270      * check whether the {@code LogRecord} would result in a "push" of the
   270      * check whether the {@code LogRecord} would result in a "push" of the
   271      * buffer contents. It will return false if the {@code LogRecord} is null.
   271      * buffer contents. It will return false if the {@code LogRecord} is null.
   272      *
   272      *
   273      * @param record  a {@code LogRecord}
   273      * @param record  a {@code LogRecord} (may be null).
   274      * @return true if the {@code LogRecord} would be logged.
   274      * @return true if the {@code LogRecord} would be logged.
   275      *
   275      *
   276      */
   276      */
   277     @Override
   277     @Override
   278     public boolean isLoggable(LogRecord record) {
   278     public boolean isLoggable(LogRecord record) {