Changeset 94
- Timestamp:
- 10/11/02 12:35:09 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/j/Buffer.java
r93 r94 3 3 * 4 4 * Copyright (C) 1998-2002 Peter Graves 5 * $Id: Buffer.java,v 1. 5 2002-10-11 01:42:36piso Exp $5 * $Id: Buffer.java,v 1.6 2002-10-11 12:35:09 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 597 597 } 598 598 599 public final void setModificationCount(int count)599 public final synchronized void setModificationCount(int count) 600 600 { 601 601 if (count != modificationCount) { … … 605 605 } 606 606 607 public final void incrementModificationCount()607 public final synchronized void incrementModificationCount() 608 608 { 609 609 ++modificationCount; … … 1745 1745 } 1746 1746 1747 public boolean needsAutosave()1747 public synchronized boolean needsAutosave() 1748 1748 { 1749 1749 if (!Autosave.isAutosaveEnabled() || !autosaveEnabled) … … 2524 2524 2525 2525 // Never returns null. 2526 public String getText()2526 public synchronized String getText() 2527 2527 { 2528 2528 if (srText != null) {
Note: See TracChangeset
for help on using the changeset viewer.