harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r721923 - /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/text/View.java
Date Sun, 30 Nov 2008 23:02:01 GMT
Author: ndbeyer
Date: Sun Nov 30 15:02:01 2008
New Revision: 721923

URL: http://svn.apache.org/viewvc?rev=721923&view=rev
Log:
remove inappropriate assert from public API

Modified:
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/text/View.java

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/text/View.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/text/View.java?rev=721923&r1=721922&r2=721923&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/text/View.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/text/View.java
Sun Nov 30 15:02:01 2008
@@ -388,8 +388,6 @@
         } else if (type == DocumentEvent.EventType.CHANGE) {
             view.changedUpdate(event, shape, factory);
         }
-        assert false : "Unknown document event type. "
-                       + "Valid values are EventType.INSERT, REMOVE, CHANGE";
     }
 
     protected boolean updateChildren(final DocumentEvent.ElementChange change,



Mime
View raw message