1 21 22 package org.armedbear.j; 23 24 public final class CommentRing extends Ring 25 { 26 private static CommentRing commentRing; 27 28 private CommentRing() 29 { 30 super(30); 31 } 32 33 public static synchronized CommentRing getInstance() 34 { 35 if (commentRing == null) { 36 commentRing = new CommentRing(); 37 Editor.protect(commentRing); 38 } 39 return commentRing; 40 } 41 } 42 | Popular Tags |