/[classpath]/classpath/java/util/logging/LogRecord.java
ViewVC logotype

Diff of /classpath/java/util/logging/LogRecord.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by tromey, Thu Mar 13 19:11:36 2003 UTC revision 1.4.2.1 by gnu_andrew, Sat Jan 15 17:02:16 2005 UTC
# Line 1  Line 1 
1  /* LogRecord.java  /* LogRecord.java --
2     -- a class for the state associated with individual logging events     A class for the state associated with individual logging events
3       Copyright (C) 2002, 2003, 2004  Free Software Foundation, Inc.
 Copyright (C) 2002, 2003 Free Software Foundation, Inc.  
4    
5  This file is part of GNU Classpath.  This file is part of GNU Classpath.
6    
# Line 35  module.  An independent module is a modu Line 34  module.  An independent module is a modu
34  or based on this library.  If you modify this library, you may extend  or based on this library.  If you modify this library, you may extend
35  this exception to your version of the library, but you are not  this exception to your version of the library, but you are not
36  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
37  exception statement from your version.  exception statement from your version. */
   
 */  
38    
39    
40  package java.util.logging;  package java.util.logging;
# Line 384  public class LogRecord Line 381  public class LogRecord
381    /**    /**
382     * The last used sequence number for any LogRecord.     * The last used sequence number for any LogRecord.
383     */     */
384    private static long lastSeqNum = 0;    private static long lastSeqNum;
385    
386    
387    /**    /**
388     * Allocates a sequence number for a new LogRecord.  This class     * Allocates a sequence number for a new LogRecord.  This class
389     * method is only called by the LogRecord constructor.     * method is only called by the LogRecord constructor.
390     */     */
391    private synchronized static long allocateSeqNum()    private static synchronized long allocateSeqNum()
392    {    {
393      lastSeqNum += 1;      lastSeqNum += 1;
394      return lastSeqNum;      return lastSeqNum;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.4.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26