summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Kennke <roman@kennke.org>2006-12-05 22:18:37 +0000
committerRoman Kennke <roman@kennke.org>2006-12-05 22:18:37 +0000
commit32861e5c843125e7373262d7d55c1c8e5b640763 (patch)
tree9ab8f7e530095464069c9741cb8c9a76f86002b8
parent04371cc4695e0e7d0eaba1a53ae4dc7afc4a4d9c (diff)
downloadclasspath-32861e5c843125e7373262d7d55c1c8e5b640763.tar.gz
2006-12-05 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create): Removed debug output. * javax/swing/text/html/InlineView.java (getBreakWeight): Likewise. * javax/swing/text/html/StyleSheet.java (addRule): Likewise. (ListPainter.paint): Removed debug output.
-rw-r--r--ChangeLog10
-rw-r--r--javax/swing/text/html/HTMLEditorKit.java1
-rw-r--r--javax/swing/text/html/InlineView.java5
-rw-r--r--javax/swing/text/html/StyleSheet.java4
4 files changed, 13 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index c85c6c553..e866cc94f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2006-12-05 Roman Kennke <kennke@aicas.com>
+ * javax/swing/text/html/HTMLEditorKit.java
+ (HTMLFactory.create): Removed debug output.
+ * javax/swing/text/html/InlineView.java
+ (getBreakWeight): Likewise.
+ * javax/swing/text/html/StyleSheet.java
+ (addRule): Likewise.
+ (ListPainter.paint): Removed debug output.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
* javax/swing/text/html/BlockView.java
(painter): Made package visible.
* javax/swing/text/html/StyleSheet.java
diff --git a/javax/swing/text/html/HTMLEditorKit.java b/javax/swing/text/html/HTMLEditorKit.java
index 3b122bb36..c15fcae99 100644
--- a/javax/swing/text/html/HTMLEditorKit.java
+++ b/javax/swing/text/html/HTMLEditorKit.java
@@ -837,7 +837,6 @@ public class HTMLEditorKit
}
if (view == null)
{
- System.err.println("missing tag->view mapping for: " + element);
view = new NullView(element);
}
return view;
diff --git a/javax/swing/text/html/InlineView.java b/javax/swing/text/html/InlineView.java
index cea0782b1..58edc7385 100644
--- a/javax/swing/text/html/InlineView.java
+++ b/javax/swing/text/html/InlineView.java
@@ -162,9 +162,8 @@ public class InlineView
public int getBreakWeight(int axis, float pos, float len)
{
int weight;
- if (nowrap) { if (getText(getStartOffset(), getEndOffset()).toString().contains("Web"))
- System.err.println("Web NOWRAP");
- weight = BadBreakWeight;}
+ if (nowrap)
+ weight = BadBreakWeight;
else
weight = super.getBreakWeight(axis, pos, len);
return weight;
diff --git a/javax/swing/text/html/StyleSheet.java b/javax/swing/text/html/StyleSheet.java
index 450f31da1..cb10ac1c5 100644
--- a/javax/swing/text/html/StyleSheet.java
+++ b/javax/swing/text/html/StyleSheet.java
@@ -512,8 +512,7 @@ public class StyleSheet extends StyleContext
}
catch (IOException ex)
{
- // Shouldn't happen. And if, then we
- System.err.println("IOException while parsing stylesheet: " + ex.getMessage());
+ // Shouldn't happen. And if, then don't let it bork the outside code.
}
// Clean up resolved styles cache so that the new styles are recognized
// on next stylesheet request.
@@ -1431,7 +1430,6 @@ public class StyleSheet extends StyleContext
}
if (centerY == -1)
{
- System.err.println("WARNING LI child is not a paragraph view " + itemView.getView(0) + ", " + itemView.getViewCount());
centerY =(int) (h / 2 + y);
}
g.fillOval(centerX - 3, centerY - 3, 6, 6);