Code cleanup: some time ago, the whole source in "trunk" was reformatted
automatically to wrap at a certain width. Unfortunately this made some
code pretty ugly by making a bunch of short comment lines with the leftover
stuff. So, correct some of that.
git-svn-id: https://svn.apache.org/repos/asf/pivot/trunk@1747375 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinVerticalElementView.java b/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinVerticalElementView.java
index def0186..3f23501 100644
--- a/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinVerticalElementView.java
+++ b/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinVerticalElementView.java
@@ -33,25 +33,16 @@
@Override
protected void childLayout(int breakWidth) {
- // TODO At some point, we may want to optimize this method by deferring
- // layout of
- // non-visible views. If so, we should not recycle views but rather
- // recreate them
- // (as is done in ParagraphView). This way, we avoid thread contention
- // over the
- // existing views (e.g. trying to paint one while modifying its
- // size/location, etc.).
- // Any invalid node views are simply replaced (in the queued callback,
- // when the
- // thread has finished processing the new ones). This allows the
- // definition of
- // validate() to remain as-is. Of course, if we redefine NodeView to
- // implement
+ // TODO At some point, we may want to optimize this method by deferring layout of
+ // non-visible views. If so, we should not recycle views but rather recreate them
+ // (as is done in ParagraphView). This way, we avoid thread contention over the
+ // existing views (e.g. trying to paint one while modifying its size/location, etc.).
+ // Any invalid node views are simply replaced (in the queued callback, when the
+ // thread has finished processing the new ones). This allows the definition of
+ // validate() to remain as-is. Of course, if we redefine NodeView to implement
// ConstrainedVisual, this may no longer be an issue.
- // Note that, if anything happens to invalidate the existence of the new
- // views before
- // they are added to the document view, we need to make sure they are
- // disposed (i.e.
+ // Note that, if anything happens to invalidate the existence of the new views before
+ // they are added to the document view, we need to make sure they are disposed (i.e.
// detached).
int width = 0;