bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public boolean equals(Object other) { ProxySignature ps = (ProxySignature) other; Class[] types1 = method.getParameterTypes(); Class[] types2 = ps.method.getParameterTypes(); if (!method.getName().equals(ps.method.getName()) || types1.length != type...
public boolean equals(Object other) { ProxySignature ps = (ProxySignature) other; Class[] types1 = method.getParameterTypes(); Class[] types2 = ps.method.getParameterTypes(); if (!method.getName().equals(ps.method.getName()) || types1.length != type...
55,640
public int hashCode() { int hash = method.getName().hashCode(); Class[] types = method.getParameterTypes(); for (int i = 0; i < types.length; i++) hash = hash * 31 + types[ i].hashCode(); return hash; }
public int hashCode() { int hash = method.getName().hashCode(); Class[] types = method.getParameterTypes(); for (int i = 0; i < types.length; i++) hash = hash * 31 + types[ i].hashCode(); return hash; }
55,641
public int hashCode() { int hash = method.getName().hashCode(); Class[] types = method.getParameterTypes(); for (int i = 0; i < types.length; i++) hash = hash * 31 + types[ i].hashCode(); return hash; }
public int hashCode() { int hash = method.getName().hashCode(); Class[] types = method.getParameterTypes(); for (int i = 0; i < types.length; i++) hash = hash * 31 + types[i].hashCode(); return hash; }
55,642
ProxyType(ClassLoader loader, Class[] interfaces) { if (loader == null) loader = ClassLoader.getSystemClassLoader(); this.loader = loader; this.interfaces = interfaces; }
ProxyType(ClassLoader loader, Class[] interfaces) { if (loader == null) loader = ClassLoader.getSystemClassLoader(); this.loader = loader; this.interfaces = interfaces; }
55,643
public boolean equals(Object other) { ProxyType pt = (ProxyType) other; if (loader != pt.loader || interfaces.length != pt.interfaces.length) return false; return sameTypes(interfaces, pt.interfaces); }
public boolean equals(Object other) { ProxyType pt = (ProxyType) other; if (loader != pt.loader || interfaces.length != pt.interfaces.length) return false; return sameTypes(interfaces, pt.interfaces); }
55,644
public boolean equals(Object other) { ProxyType pt = (ProxyType) other; if (loader != pt.loader || interfaces.length != pt.interfaces.length) return false; return sameTypes(interfaces, pt.interfaces); }
public boolean equals(Object other) { ProxyType pt = (ProxyType) other; if (loader != pt.loader || interfaces.length != pt.interfaces.length) return false; return sameTypes(interfaces, pt.interfaces); }
55,645
public int hashCode() { //loader is always not null int hash = loader.hashCode(); for (int i = 0; i < interfaces.length; i++) hash = hash * 31 + interfaces[ i].hashCode(); return hash; }
public int hashCode() { //loader is always not null int hash = loader.hashCode(); for (int i = 0; i < interfaces.length; i++) hash = hash * 31 + interfaces[ i].hashCode(); return hash; }
55,646
public int hashCode() { //loader is always not null int hash = loader.hashCode(); for (int i = 0; i < interfaces.length; i++) hash = hash * 31 + interfaces[ i].hashCode(); return hash; }
public int hashCode() { //loader is always not null int hash = loader.hashCode(); for (int i = 0; i < interfaces.length; i++) hash = hash * 31 + interfaces[i].hashCode(); return hash; }
55,647
private static boolean sameTypes(Class arr1[], Class arr2[]) { if (arr1.length == 1 && arr2.length == 1) { return arr1[ 0] == arr2[ 0]; } // total occurrance of elements of arr1 in arr2 int total_occ_of_arr1_in_arr2 = 0; each_type: for (int i = arr1.length; --i >= 0;)...
private static boolean sameTypes(Class arr1[], Class arr2[]) { if (arr1.length == 1 && arr2.length == 1) { return arr1[0] == arr2[0]; } // total occurrance of elements of arr1 in arr2 int total_occ_of_arr1_in_arr2 = 0; each_type: for (int i = arr1.length; --i >= 0;) {...
55,648
private static boolean sameTypes(Class arr1[], Class arr2[]) { if (arr1.length == 1 && arr2.length == 1) { return arr1[ 0] == arr2[ 0]; } // total occurrance of elements of arr1 in arr2 int total_occ_of_arr1_in_arr2 = 0; each_type: for (int i = arr1.length; --i >= 0;)...
private static boolean sameTypes(Class arr1[], Class arr2[]) { if (arr1.length == 1 && arr2.length == 1) { return arr1[ 0] == arr2[ 0]; } // total occurrance of elements of arr1 in arr2 int total_occ_of_arr1_in_arr2 = 0; each_type: for (int i = arr1.length; --i >= 0;)...
55,649
private static boolean sameTypes(Class arr1[], Class arr2[]) { if (arr1.length == 1 && arr2.length == 1) { return arr1[ 0] == arr2[ 0]; } // total occurrance of elements of arr1 in arr2 int total_occ_of_arr1_in_arr2 = 0; each_type: for (int i = arr1.length; --i >= 0;)...
private static boolean sameTypes(Class arr1[], Class arr2[]) { if (arr1.length == 1 && arr2.length == 1) { return arr1[ 0] == arr2[ 0]; } // total occurrance of elements of arr1 in arr2 int total_occ_of_arr1_in_arr2 = 0; each_type: for (int i = arr1.length; --i >= 0;)...
55,650
private static boolean sameTypes(Class arr1[], Class arr2[]) { if (arr1.length == 1 && arr2.length == 1) { return arr1[ 0] == arr2[ 0]; } // total occurrance of elements of arr1 in arr2 int total_occ_of_arr1_in_arr2 = 0; each_type: for (int i = arr1.length; --i >= 0;)...
private static boolean sameTypes(Class arr1[], Class arr2[]) { if (arr1.length == 1 && arr2.length == 1) { return arr1[ 0] == arr2[ 0]; } // total occurrance of elements of arr1 in arr2 int total_occ_of_arr1_in_arr2 = 0; each_type: for (int i = arr1.length; --i >= 0;)...
55,651
protected Proxy(InvocationHandler handler) { if (handler == null && isProxyClass(getClass())) throw new NullPointerException("invalid handler"); h = handler; }
protected Proxy(InvocationHandler handler) { if (handler == null && isProxyClass(getClass())) throw new NullPointerException("invalid handler"); h = handler; }
55,652
public static synchronized Class getProxyClass(ClassLoader loader, Class[] interfaces) { interfaces = (Class[]) interfaces.clone(); ProxyType pt = new ProxyType(loader, interfaces); Class clazz = (Class) proxyClasses.get(pt); if (clazz == null) { ProxyData data = ProxyData.getProxyData(pt); C...
public static synchronized Class getProxyClass(ClassLoader loader, Class[] interfaces) { interfaces = (Class[]) interfaces.clone(); ProxyType pt = new ProxyType(loader, interfaces); Class clazz = (Class) proxyClasses.get(pt); if (clazz == null) { ProxyData data = ProxyData.getProxyData(pt); C...
55,653
public static synchronized Class getProxyClass(ClassLoader loader, Class[] interfaces) { interfaces = (Class[]) interfaces.clone(); ProxyType pt = new ProxyType(loader, interfaces); Class clazz = (Class) proxyClasses.get(pt); if (clazz == null) { ProxyData data = ProxyData.getProxyData(pt); C...
public static synchronized Class getProxyClass(ClassLoader loader, Class[] interfaces) { interfaces = (Class[]) interfaces.clone(); ProxyType pt = new ProxyType(loader, interfaces); Class clazz = (Class) proxyClasses.get(pt); if (clazz == null) { ProxyData data = ProxyData.getProxyData(pt); C...
55,654
public static synchronized Class getProxyClass(ClassLoader loader, Class[] interfaces) { interfaces = (Class[]) interfaces.clone(); ProxyType pt = new ProxyType(loader, interfaces); Class clazz = (Class) proxyClasses.get(pt); if (clazz == null) { ProxyData data = ProxyData.getProxyData(pt); C...
public static synchronized Class getProxyClass(ClassLoader loader, Class[] interfaces) { interfaces = (Class[]) interfaces.clone(); ProxyType pt = new ProxyType(loader, interfaces); Class clazz = (Class) proxyClasses.get(pt); if (clazz == null) { ProxyData data = ProxyData.getProxyData(pt); C...
55,655
public static synchronized boolean isProxyClass(Class clazz) { if (!Proxy.class.isAssignableFrom(clazz)) return false; // This is a linear search, even though we could do an O(1) search // using new ProxyType(clazz.getClassLoader(), clazz.getInterfaces()). return proxyClasses.containsVal...
public static synchronized boolean isProxyClass(Class clazz) { if (!Proxy.class.isAssignableFrom(clazz)) return false; // This is a linear search, even though we could do an O(1) search // using new ProxyType(clazz.getClassLoader(), clazz.getInterfaces()). return proxyClasses.containsVal...
55,656
private String readAttributeValue(Reader in) throws IOException { StringBuffer buf = new StringBuffer(); int ch = in.read(); if (ch == '#') { while (true) { ch = in.read(); if (('a' <= ch && ch <= 'f') || ('A' <= ch && ch <= 'F') || Character.isDigit...
private String readAttributeValue(Reader in) throws IOException { StringBuffer buf = new StringBuffer(); int ch = in.read(); if (ch == '#') { while (true) { ch = in.read(); if (('a' <= ch && ch <= 'f') || ('A' <= ch && ch <= 'F') || Character.isDigit...
55,657
public void onMessage(Message m) { TextMessage tm = (TextMessage)m; count++; log.trace("Got message:" + count); try { log.trace("message:" + tm.getText()); if (count == 1) { if (!("a".equals(tm.g...
public void onMessage(Message m) { TextMessage tm = (TextMessage)m; count++; log.trace("Got message:" + count); try { log.trace("message:" + tm.getText()); if (count == 1) { if (!("a".equals(tm.getText()))) { log.trace("Should be a but was " + t...
55,658
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.info("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
55,662
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
55,663
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
55,664
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
55,665
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
55,666
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
55,667
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
55,668
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
55,669
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
55,670
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
55,671
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
public void onMessage(Message m) { try { TextMessage tm = (TextMessage)m; log.trace("Got message:" + tm.getText() + " count is " + count); if (count == 0) { if (!("a".equals(tm.getText()))) { ...
55,672
private Class getQueryClass(com.opensymphony.workflow.query.Expression expr, Collection classesCache) throws StoreException { if (classesCache == null) { classesCache = new HashSet(); } if (expr instanceof FieldExpression) { FieldExpression fieldExpression = (FieldExpressi...
private Class getQueryClass(com.opensymphony.workflow.query.Expression expr, Collection classesCache) throws StoreException { if (classesCache == null) { classesCache = new HashSet(); } if (expr instanceof FieldExpression) { FieldExpression fieldExpression = (FieldExpressi...
55,675
public DurableSubscription(String subName, Topic topic, String selector, MessageStore ms, PersistenceManager pm) { super(topic, selector, ms, pm); this.subName = subName; }
public DurableSubscription(String subName, Topic topic, String selector, MessageStore ms, PersistenceManager pm) { super(topic, selector, ms, pm); this.subName = subName; }
55,676
private ResourceManagerFactory() { resourceManagers = new HashMap(); }
private ResourceManagerFactory() { holders = new HashMap(); }
55,677
public synchronized ResourceManager getResourceManager(String serverID) { ResourceManager rm = (ResourceManager)resourceManagers.get(serverID); if (rm == null) { rm = new ResourceManager(); resourceManagers.put(serverID, rm); } return rm; }
public synchronized ResourceManager getResourceManager(String serverID) { ResourceManager rm = (ResourceManager)resourceManagers.get(serverID); if (rm == null) { rm = new ResourceManager(); resourceManagers.put(serverID, rm); } return rm; }
55,678
public synchronized ResourceManager getResourceManager(String serverID) { ResourceManager rm = (ResourceManager)resourceManagers.get(serverID); if (rm == null) { rm = new ResourceManager(); resourceManagers.put(serverID, rm); } return rm; }
public synchronized ResourceManager getResourceManager(String serverID) { ResourceManager rm = (ResourceManager)resourceManagers.get(serverID); if (rm == null) { rm = new ResourceManager(); resourceManagers.put(serverID, rm); } return rm; }
55,679
public synchronized ResourceManager getResourceManager(String serverID) { ResourceManager rm = (ResourceManager)resourceManagers.get(serverID); if (rm == null) { rm = new ResourceManager(); resourceManagers.put(serverID, rm); } return rm; }
public synchronized ResourceManager getResourceManager(String serverID) { ResourceManager rm = (ResourceManager)resourceManagers.get(serverID); if (rm == null) { rm = new ResourceManager(); resourceManagers.put(serverID, rm); } else { h.refCount++; } return h.rm; }
55,680
public void read(Reader in, Document document, int offset) throws BadLocationException, IOException { BufferedReader reader = new BufferedReader(in); String line; StringBuffer content = new StringBuffer(); while ((line = reader.readLine()) != null) content.append(line); document.insertSt...
public void read(InputStream in, Document document, int offset) throws BadLocationException, IOException { BufferedReader reader = new BufferedReader(in); String line; StringBuffer content = new StringBuffer(); while ((line = reader.readLine()) != null) content.append(line); document.ins...
55,681
public void read(Reader in, Document document, int offset) throws BadLocationException, IOException { BufferedReader reader = new BufferedReader(in); String line; StringBuffer content = new StringBuffer(); while ((line = reader.readLine()) != null) content.append(line); document.insertSt...
public void read(Reader in, Document document, int offset) throws BadLocationException, IOException { BufferedReader reader = new BufferedReader(in); String line; StringBuffer content = new StringBuffer(); while ((line = reader.readLine()) != null) content.append(line); document.insertSt...
55,682
public void write(Writer out, Document document, int offset, int len) throws BadLocationException, IOException { }
public void write(OutputStream out, Document document, int offset, int len) throws BadLocationException, IOException { }
55,683
public boolean isRunning() { return running; }
public boolean isRunning() { return task != null; }
55,685
public void start() { synchronized (queueLock) { if (!running) { running = true; waker = new Waker(); waker.start(); } } }
public void start() { synchronized (queueLock) { if (!running) { running = true; waker = new Waker(); waker.start(); } } }
55,687
public void start() { synchronized (queueLock) { if (!running) { running = true; waker = new Waker(); waker.start(); } } }
public void start() { synchronized (queueLock) { if (!running) { running = true; waker = new Waker(); waker.start(); } } }
55,688
public void start() { synchronized (queueLock) { if (!running) { running = true; waker = new Waker(); waker.start(); } } }
public void start() { synchronized (queueLock) { if (!running) { running = true; waker = new Waker(); waker.start(); }
55,689
public void stop() { synchronized (queueLock) { running = false; queue = 0; queueLock.notifyAll(); waker = null; } }
public void stop() { Task t = task; if (t != null) { running = false; queue = 0; queueLock.notifyAll(); waker = null; } }
55,690
public void stop() { synchronized (queueLock) { running = false; queue = 0; queueLock.notifyAll(); waker = null; } }
public void stop() { synchronized (queueLock) { running = false; queue = 0; queueLock.notifyAll(); waker = null; } }
55,691
private static int[] adjustForAbsolute(Box bx, int tx, int ty, BlockFormattingContext bfc) { tx -= bfc.getX(); ty -= bfc.getY(); if (bfc != null) { if (bx.left_set) { Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); Uu.p(" insets =...
private static int[] adjustForAbsolute(Box bx, int tx, int ty, BlockFormattingContext bfc) { tx -= bfc.getX(); ty -= bfc.getY(); if (bfc != null) { if (bx.left_set) { Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); Uu.p(" insets =...
55,692
private static int[] adjustForAbsolute(Box bx, int tx, int ty, BlockFormattingContext bfc) { tx -= bfc.getX(); ty -= bfc.getY(); if (bfc != null) { if (bx.left_set) { Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); Uu.p(" insets =...
private static int[] adjustForAbsolute(Box bx, int tx, int ty, BlockFormattingContext bfc) { tx -= bfc.getX(); ty -= bfc.getY(); if (bfc != null) { if (bx.left_set) { Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); Uu.p(" insets =...
55,693
private static int[] adjustForAbsolute2(Box bx, int tx, int ty, BlockFormattingContext bfc) { int dx = 0; int dy = 0; if (bfc != null) { if (bx.left_set) { //Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); //Uu.p(" insets = " + bf...
private static int[] adjustForAbsolute2(Box bx, int tx, int ty, BlockFormattingContext bfc) { int dx = 0; int dy = 0; if (bfc != null) { if (bx.left_set) { //Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); //Uu.p(" insets = " + bf...
55,694
private static int[] adjustForAbsolute2(Box bx, int tx, int ty, BlockFormattingContext bfc) { int dx = 0; int dy = 0; if (bfc != null) { if (bx.left_set) { //Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); //Uu.p(" insets = " + bf...
private static int[] adjustForAbsolute2(Box bx, int tx, int ty, BlockFormattingContext bfc) { int dx = 0; int dy = 0; if (bfc != null) { if (bx.left_set) { //Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); //Uu.p(" insets = " + bf...
55,695
private static int[] adjustForAbsolute2(Box bx, int tx, int ty, BlockFormattingContext bfc) { int dx = 0; int dy = 0; if (bfc != null) { if (bx.left_set) { //Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); //Uu.p(" insets = " + bf...
private static int[] adjustForAbsolute2(Box bx, int tx, int ty, BlockFormattingContext bfc) { int dx = 0; int dy = 0; if (bfc != null) { if (bx.left_set) { //Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); //Uu.p(" insets = " + bf...
55,696
private static int[] adjustForAbsolute2(Box bx, int tx, int ty, BlockFormattingContext bfc) { int dx = 0; int dy = 0; if (bfc != null) { if (bx.left_set) { //Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); //Uu.p(" insets = " + bf...
private static int[] adjustForAbsolute2(Box bx, int tx, int ty, BlockFormattingContext bfc) { int dx = 0; int dy = 0; if (bfc != null) { if (bx.left_set) { //Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); //Uu.p(" insets = " + bf...
55,697
private static int[] adjustForAbsolute2(Box bx, int tx, int ty, BlockFormattingContext bfc) { int dx = 0; int dy = 0; if (bfc != null) { if (bx.left_set) { //Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); //Uu.p(" insets = " + bf...
private static int[] adjustForAbsolute2(Box bx, int tx, int ty, BlockFormattingContext bfc) { int dx = 0; int dy = 0; if (bfc != null) { if (bx.left_set) { //Uu.p("bfc = " + bfc);// + " x,y = " + bfc.getX() + "," + bfc.getY()); //Uu.p("bfc = " + bfc.hashCode()); //Uu.p(" insets = " + bf...
55,698
public static Box findBoxByCoords(BasicPanel panel, int x, int y) { Box box = BoxFinder.findElementBox2(panel.getRootBox(),x,y,null); return box; }
public static Box findBoxByCoords(BasicPanel panel, int x, int y) { Box box = BoxFinder.findElementBox2(panel.getRootBox(), x, y, null); return box; }
55,699
public static Box findBoxByCoords(BasicPanel panel, int x, int y) { Box box = BoxFinder.findElementBox2(panel.getRootBox(),x,y,null); return box; }
public static Box findBoxByCoords(BasicPanel panel, int x, int y) { Box box = BoxFinder.findElementBox2(panel.getRootBox(),x,y,null); return box; }
55,700
public static Box findBoxByID(String id, SharedContext ctx) { return ctx.getIDBox(id); }
public static Box findBoxByID(String id, SharedContext ctx) { return ctx.getIDBox(id); }
55,701
public static Point findCoordsByBox(Box box) { if(box.getParent() != null) { Point pt = findCoordsByBox(box.getParent()); pt.translate(box.x,box.y); return pt; } return new Point(0,0); }
public static Point findCoordsByBox(Box box) { if(box.getParent() != null) { Point pt = findCoordsByBox(box.getParent()); pt.translate(box.x,box.y); return pt; } return new Point(0,0); }
55,702
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,703
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,704
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,705
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,706
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,707
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,708
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,709
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,710
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,711
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,712
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,713
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,714
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,715
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return null; ...
55,716
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
55,717
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
55,718
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
55,719
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
55,720
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
55,721
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if(box == null) { return null; } int dx = 0; ...
55,722
public static Element findElementByBox(Box box) { return null; }
public static Element findElementByBox(Box box) { return null; }
55,723
public static Element findElementByCoords(int x, int y) { return null; }
public static Element findElementByCoords(int x, int y) { return null; }
55,724
public static Element findElementByID(String id, SharedContext ctx) { Box bx = findBoxByID(id,ctx); return findElementByBox(bx); }
public static Element findElementByID(String id, SharedContext ctx) { Box bx = findBoxByID(id,ctx); return findElementByBox(bx); }
55,725
public Cell addCell(Node node, int x, int y) throws Exception { //u.p("addCell("+node+","+x+","+y+")"); if(node.getNodeType() != node.ELEMENT_NODE) { throw new Exception("this isn't an element" + node); } Element cell = (Element)node; Cell cl = new Cell(); cl.nod...
public Cell addCell(Node node, int x, int y) { //u.p("addCell("+node+","+x+","+y+")"); if(node.getNodeType() != node.ELEMENT_NODE) { throw new Exception("this isn't an element" + node); } Element cell = (Element)node; Cell cl = new Cell(); cl.node = node; ...
55,726
public Cell addCell(Node node, int x, int y) throws Exception { //u.p("addCell("+node+","+x+","+y+")"); if(node.getNodeType() != node.ELEMENT_NODE) { throw new Exception("this isn't an element" + node); } Element cell = (Element)node; Cell cl = new Cell(); cl.nod...
public Cell addCell(Node node, int x, int y) throws Exception { //u.p("addCell("+node+","+x+","+y+")"); if(node.getNodeType() != node.ELEMENT_NODE) { throw new Error("this isn't an element" + node); } Element cell = (Element)node; Cell cl = new Cell(); cl.node = ...
55,727
public void addFirstRow(Node row) throws Exception { addRow(row,true, 0); }
public void addFirstRow(Node row) { addRow(row,true, 0); }
55,728
public void addRow(Node row, int y) throws Exception { addRow(row,false, y); }
public void addRow(Node row, int y) { addRow(row,false, y); }
55,729
public Cell addTopCell(Node node, int x, int y) throws Exception { Cell cl = addCell(node, x, y); top_cells.add(cl); return cl; }
public Cell addTopCell(Node node, int x, int y) { Cell cl = addCell(node, x, y); top_cells.add(cl); return cl; }
55,730
public void dispatch() { if (catchExceptions) try { runnable.run(); } catch (Exception e) { exception = e; } else runnable.run(); if (notifier != null) notifier.notifyAll(); }
public void dispatch() { if (catchExceptions) try { runnable.run(); } catch (Exception e) { exception = e; } else runnable.run(); if (notifier != null) notifier.notifyAll(); }
55,731
public void show() { Rectangle cbBounds = comboBox.getBounds(); // popup should have same width as the comboBox and should be hight anough // to display number of rows equal to 'maximumRowCount' property int popupHeight = getPopupHeightForRowCount(comboBox.getMaximumRowCount()); list.setPreferredSize(...
public void show() { Rectangle cbBounds = comboBox.getBounds(); // popup should have same width as the comboBox and should be hight anough // to display number of rows equal to 'maximumRowCount' property int popupHeight = getPopupHeightForRowCount(comboBox.getMaximumRowCount()); list.setPreferredSize(...
55,732
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LATIN ||...
55,733
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase(); } else if (listStyle == IdentValue.UPPER_LATIN || ...
55,734
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
55,735
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
55,736
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
55,737
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
55,738
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
private MarkerData.TextMarker makeTextMarker(LayoutContext c, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(getListCounter()).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LAT...
55,739
public String registerDestination(boolean isQueue, String name, String jndiName, Element securityConfiguration) throws JMSException { jndiName = destinationJNDIMapper.registerDestination(isQueue, name, jndiName); if (securityConfiguration == null) { // rel...
public String registerDestination(boolean isQueue, String name, String jndiName, Element securityConfiguration) throws JMSException { jndiName = destinationJNDIMapper.registerDestination(isQueue, name, jndiName); if (securityConfiguration != null) { // rel...
55,740
public String registerDestination(boolean isQueue, String name, String jndiName, Element securityConfiguration) throws JMSException { jndiName = destinationJNDIMapper.registerDestination(isQueue, name, jndiName); if (securityConfiguration == null) { // rel...
public String registerDestination(boolean isQueue, String name, String jndiName, Element securityConfiguration) throws JMSException { jndiName = destinationJNDIMapper.registerDestination(isQueue, name, jndiName); if (securityConfiguration == null) { // rel...
55,741
public String registerDestination(boolean isQueue, String name, String jndiName, Element securityConfiguration) throws JMSException { jndiName = destinationJNDIMapper.registerDestination(isQueue, name, jndiName); if (securityConfiguration == null) { // rel...
public String registerDestination(boolean isQueue, String name, String jndiName, Element securityConfiguration) throws JMSException { jndiName = destinationJNDIMapper.registerDestination(isQueue, name, jndiName); if (securityConfiguration == null) { // rel...
55,742
public void setSecurityConfiguration(boolean isQueue, String name, Element securityConfig) throws JMSException { sm.setSecurityConfig(name, securityConfig); }
public void setSecurityConfiguration(boolean isQueue, String name, Element securityConfig) throws JMSException { sm.setSecurityConfig(isQueue, name, securityConfig); }
55,743
public void unregisterDestination(boolean isQueue, String name) throws JMSException { destinationJNDIMapper.unregisterDestination(isQueue, name); sm.clearSecurityConfig(name); }
public void unregisterDestination(boolean isQueue, String name) throws JMSException { destinationJNDIMapper.unregisterDestination(isQueue, name); sm.clearSecurityConfig(isQueue, name); }
55,744
public void testCannotReceiveMessageOnStoppedConnection() throws Exception { TopicConnection conn1 = ((TopicConnectionFactory)cf).createTopicConnection(); TopicConnection conn2 = ((TopicConnectionFactory)cf).createTopicConnection(); TopicSession sess1 = conn1.createTopicSession(false, Session....
public void testCannotReceiveMessageOnStoppedConnection() throws Exception { TopicConnection conn1 = ((TopicConnectionFactory)cf).createTopicConnection(); TopicConnection conn2 = ((TopicConnectionFactory)cf).createTopicConnection(); TopicSession sess1 = conn1.createTopicSession(false, Session....
55,745
public void testCannotReceiveMessageOnStoppedConnection() throws Exception { TopicConnection conn1 = ((TopicConnectionFactory)cf).createTopicConnection(); TopicConnection conn2 = ((TopicConnectionFactory)cf).createTopicConnection(); TopicSession sess1 = conn1.createTopicSession(false, Session....
public void testCannotReceiveMessageOnStoppedConnection() throws Exception { TopicConnection conn1 = ((TopicConnectionFactory)cf).createTopicConnection(); TopicConnection conn2 = ((TopicConnectionFactory)cf).createTopicConnection(); TopicSession sess1 = conn1.createTopicSession(false, Session....
55,746