MigInfo.com layout fixe (again?) libjs rebuilt
[jalview.git] / srcjar / net / miginfocom / layout / BoundSize.java
index 531235f..e41c27d 100644 (file)
@@ -245,24 +245,24 @@ public class BoundSize implements Serializable
        }
 
        static {
-        if(LayoutUtil.HAS_BEANS){
-            LayoutUtil.setDelegate(BoundSize.class, new PersistenceDelegate() {
-                @Override
-                protected Expression instantiate(Object oldInstance, Encoder out)
-                {
-                    BoundSize bs = (BoundSize) oldInstance;
-                    if (Grid.TEST_GAPS) {
-                        return new Expression(oldInstance, BoundSize.class, "new", new Object[] {
-                                bs.getMin(), bs.getPreferred(), bs.getMax(), bs.getGapPush(), bs.getConstraintString()
-                        });
-                    } else {
-                        return new Expression(oldInstance, BoundSize.class, "new", new Object[] {
-                                bs.getMin(), bs.getPreferred(), bs.getMax(), bs.getConstraintString()
-                        });
-                    }
-                }
-            });
-        }
+//        if(LayoutUtil.HAS_BEANS){
+//            LayoutUtil.setDelegate(BoundSize.class, new PersistenceDelegate() {
+//                @Override
+//                protected Expression instantiate(Object oldInstance, Encoder out)
+//                {
+//                    BoundSize bs = (BoundSize) oldInstance;
+//                    if (Grid.TEST_GAPS) {
+//                        return new Expression(oldInstance, BoundSize.class, "new", new Object[] {
+//                                bs.getMin(), bs.getPreferred(), bs.getMax(), bs.getGapPush(), bs.getConstraintString()
+//                        });
+//                    } else {
+//                        return new Expression(oldInstance, BoundSize.class, "new", new Object[] {
+//                                bs.getMin(), bs.getPreferred(), bs.getMax(), bs.getConstraintString()
+//                        });
+//                    }
+//                }
+//            });
+//        }
        }
 
        // ************************************************