This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 1454

Summary: ElementPrinter.PrinterSupport? Convenience only.
Product: platform Reporter: Jesse Glick <jglick>
Component: -- Other --Assignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 1999-04-08 04:18:45 UTC
In line with empty impls of, e.g., event listeners. Suggested impl:

public abstract class PrinterSupport implements ElementPrinter {
  public PrinterSupport() {}
  // public abstract void print (String text);
  public void println (String text) {print(text + "/n");}
  public void markField(FieldElement ignore, int alsoIgnore) {}
  // ditto for other mark methods
}

[Make DefaultElementPrinter public instead]
Comment 1 Quality Engineering 2003-07-02 14:57:41 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 2 Quality Engineering 2003-07-02 15:15:00 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.