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 - ElementPrinter.PrinterSupport? Convenience only.
Summary: ElementPrinter.PrinterSupport? Convenience only.
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-04-08 04:18 UTC by Jesse Glick
Modified: 2008-12-23 10:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.