rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
if (runCount > tabRuns.length) expandTabRunsArray(); | protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49ad2f4c3e74f0a8e99b839c938a312898850fa0/BasicTabbedPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
if (tabCount > runCount) runCount = tabCount; | protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); boolean isScroll = tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT; // Please note: the ordering of the painting is important. // we WANT to pai... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49ad2f4c3e74f0a8e99b839c938a312898850fa0/BasicTabbedPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
public int getCol(int pos) { int col = pos % (getCols()); if (col > 0) return col; else return 0; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | ||
public int getRow(int pos) { int row = pos / numCols; if (row < 0) { row = lastPos / numCols; } if (row > lenScreen - 1) row = lenScreen - 1; return row; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | ||
if (pendingInsert) { | if (pendingInsert && homePos > 0) { | public void goHome() { // now we try to move to first input field according to // 14.6 WRITE TO DISPLAY Command // If the WTD command is valid, after the command is processed, // the cursor moves to one of three locations: // - The location set by an insert cursor order (un... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
restriction = new Rectangle(0,0); | void jbInit() throws Exception { if (!appProps.containsKey("font")) { font = new Font("dialoginput",Font.BOLD,14); appProps.setProperty("font","dialoginput"); } else { font = new Font(getStringProperty("font"),Font.PLAIN,14); } gui.setFont(font); lastAttr = 32; ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | |
if (resetAttr) | if (resetAttr) { | public void propertyChange(PropertyChangeEvent pce) { String pn = pce.getPropertyName(); boolean resetAttr = false; if (pn.equals("colorBg")) { colorBg = (Color)pce.getNewValue(); resetAttr = true; } if (pn.equals("colorBlue")) { colorBlue = (Color)pce.getNewValue(); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
bi.drawOIA(fmWidth,fmHeight,numRows,numCols,font,colorBg,colorBlue); } | public void propertyChange(PropertyChangeEvent pce) { String pn = pce.getPropertyName(); boolean resetAttr = false; if (pn.equals("colorBg")) { colorBg = (Color)pce.getNewValue(); resetAttr = true; } if (pn.equals("colorBlue")) { colorBlue = (Color)pce.getNewValue(); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | |
public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; setKBIndicatorOff(); simulateMnemonic(getMnemonicValue(text)); } ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | ||
goto_XY(icX,icY); | public void setPendingInsert(boolean flag, int icX, int icY) { pendingInsert = flag; if (pendingInsert) { homePos = getPos(icX,icY); } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | |
case DUP_FIELD : if (screenFields.getCurrentField() != null && screenFields.withinCurrentField(lastPos) && !screenFields.isCurrentFieldBypassField()) { if (screenFields.isCurrentFieldDupEnabled()) { setCursorOff(); resetDirty(lastPos); screenFields.getCurrentField().setFieldChar(lastPos,(char)0x1C); screenFields.setCu... | protected boolean simulateMnemonic(int mnem){ boolean simulated = false; switch (mnem) { case AID_CLEAR : case AID_ENTER : case AID_PF1 : case AID_PF2 : case AID_PF3 : case AID_PF4 : case AID_PF5 : case AID_PF6 : case AID_PF7 : ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bcfd5ba28d22d8100110257f977fd7c577f652c2/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | |
ClassLoader cl = VMSecurityManager.currentClassLoader(); return cl != null ? cl.getPackage(name) : null; | ClassLoader cl = VMStackWalker.getCallingClassLoader(); return cl != null ? cl.getPackage(name) : VMClassLoader.getPackage(name); | public static Package getPackage(String name) { // Get the caller's classloader ClassLoader cl = VMSecurityManager.currentClassLoader(); return cl != null ? cl.getPackage(name) : null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c65f6a6914005749230b8f31c6890448761cd6f4/Package.java/clean/core/src/classpath/java/java/lang/Package.java |
Class c = VMSecurityManager.getClassContext()[1]; ClassLoader cl = c.getClassLoader(); return cl != null ? cl.getPackages() : new Package[0]; | ClassLoader cl = VMStackWalker.getCallingClassLoader(); return cl != null ? cl.getPackages() : VMClassLoader.getPackages(); | public static Package[] getPackages() { // Get the caller's classloader Class c = VMSecurityManager.getClassContext()[1]; ClassLoader cl = c.getClassLoader(); // Sun's implementation returns the packages loaded by the bootstrap // classloader if cl is null, but right now our bootstrap classloader // does not... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c65f6a6914005749230b8f31c6890448761cd6f4/Package.java/clean/core/src/classpath/java/java/lang/Package.java |
breaker.setText(s.toString()); | breaker.setText(s); | public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset); BreakIterator breaker = Brea... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70a2876c99036463feada99a37295405c146f49b/Utilities.java/clean/core/src/classpath/javax/javax/swing/text/Utilities.java |
if (Math.abs(offsX-x) < Math.abs(offsXNext-x)) | if (Math.abs(offsX-x) <= Math.abs(offsXNext-x)) | public static final int getPositionAbove(JTextComponent c, int offset, int x) throws BadLocationException { int offs = getRowStart(c, offset); if(offs == -1) return -1; // Effectively calculates the y value of the previous line. Point pt = c.modelToView(offs-1).getLocation(); pt.x = x;... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70a2876c99036463feada99a37295405c146f49b/Utilities.java/clean/core/src/classpath/javax/javax/swing/text/Utilities.java |
if (Math.abs(offsX-x) < Math.abs(offsXNext-x)) | if (Math.abs(offsX-x) <= Math.abs(offsXNext-x)) | public static final int getPositionBelow(JTextComponent c, int offset, int x) throws BadLocationException { int offs = getRowEnd(c, offset); if(offs == -1) return -1; // Effectively calculates the y value of the previous line. Point pt = c.modelToView(offs+1).getLocation(); pt.x = x; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70a2876c99036463feada99a37295405c146f49b/Utilities.java/clean/core/src/classpath/javax/javax/swing/text/Utilities.java |
if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = | if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = | private void fireCommandEvent() { if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = (FTPStatusListener)listeners.elementAt(i); target.commandStatusReceived(status); } } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/b424408b7c5f668455972e5e401cbeda3a3ff25a/FTP5250Prot.java/buggy/tn5250j/src/org/tn5250j/tools/FTP5250Prot.java |
target.commandStatusReceived(status); } } | target.commandStatusReceived(status); } } | private void fireCommandEvent() { if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = (FTPStatusListener)listeners.elementAt(i); target.commandStatusReceived(status); } } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/b424408b7c5f668455972e5e401cbeda3a3ff25a/FTP5250Prot.java/buggy/tn5250j/src/org/tn5250j/tools/FTP5250Prot.java |
if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = | if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = | private void fireInfoEvent() { if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = (FTPStatusListener)listeners.elementAt(i); target.fileInfoReceived(status); } } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/b424408b7c5f668455972e5e401cbeda3a3ff25a/FTP5250Prot.java/buggy/tn5250j/src/org/tn5250j/tools/FTP5250Prot.java |
target.fileInfoReceived(status); } } | target.fileInfoReceived(status); } } | private void fireInfoEvent() { if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = (FTPStatusListener)listeners.elementAt(i); target.fileInfoReceived(status); } } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/b424408b7c5f668455972e5e401cbeda3a3ff25a/FTP5250Prot.java/buggy/tn5250j/src/org/tn5250j/tools/FTP5250Prot.java |
if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = | if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = | private void fireStatusEvent() { if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = (FTPStatusListener)listeners.elementAt(i); target.statusReceived(status); } } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/b424408b7c5f668455972e5e401cbeda3a3ff25a/FTP5250Prot.java/buggy/tn5250j/src/org/tn5250j/tools/FTP5250Prot.java |
target.statusReceived(status); } } | target.statusReceived(status); } } | private void fireStatusEvent() { if (listeners != null) { int size = listeners.size(); for (int i = 0; i < size; i++) { FTPStatusListener target = (FTPStatusListener)listeners.elementAt(i); target.statusReceived(status); } } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/b424408b7c5f668455972e5e401cbeda3a3ff25a/FTP5250Prot.java/buggy/tn5250j/src/org/tn5250j/tools/FTP5250Prot.java |
System.out.println(tFile.substring(0,memberOffset)); | protected boolean getFileInfo(String tFile, boolean useInternal) { int memberOffset = tFile.indexOf("."); String file2 = null; String member2 = null; if (memberOffset > 0) { System.out.println(tFile.substring(0,memberOffset)); file2 = tFile.substring(0,memberOffset); membe... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/b424408b7c5f668455972e5e401cbeda3a3ff25a/FTP5250Prot.java/buggy/tn5250j/src/org/tn5250j/tools/FTP5250Prot.java | |
if (member == null && fileSize == 0) { fileSize = packed2int(abyte0,345,5); status.setFileLength(fileSize); member = sb.toString(); } else { if (sb.toString().equalsIgnoreCase(member)) { fileSize = packed2int(abyte0,345,5); status.setFileLength(fileSize); | members.add(new MemberInfo(sb.toString(),packed2int(abyte0,345,5))); | private boolean getMbrSize(String member) { boolean flag = true; if(ftpOutputStream == null) { printFTPInfo("Not connected to any server!"); return false; } if(!loggedIn) { printFTPInfo("Login was not successful! Aborting!"); return false; } Socket socket... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/b424408b7c5f668455972e5e401cbeda3a3ff25a/FTP5250Prot.java/buggy/tn5250j/src/org/tn5250j/tools/FTP5250Prot.java |
} else { fileSize = packed2int(abyte0,345,5); status.setFileLength(fileSize); } } | private boolean getMbrSize(String member) { boolean flag = true; if(ftpOutputStream == null) { printFTPInfo("Not connected to any server!"); return false; } if(!loggedIn) { printFTPInfo("Login was not successful! Aborting!"); return false; } Socket socket... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/b424408b7c5f668455972e5e401cbeda3a3ff25a/FTP5250Prot.java/buggy/tn5250j/src/org/tn5250j/tools/FTP5250Prot.java | |
SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkAccept(impl.getInetAddress().getHostAddress(), impl.getLocalPort()); | public Socket accept() throws IOException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkAccept(impl.getInetAddress().getHostAddress(), impl.getLocalPort()); Socket socket = new Socket(); try { implAccept(socket); } catch (IOException e) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/ServerSocket.java/buggy/core/src/classpath/java/java/net/ServerSocket.java | |
public Gui5250(SessionConfig config) { propFileName = config.getConfigurationResource(); sesConfig = config; enableEvents(AWTEvent.WINDOW_EVENT_MASK | AWTEvent.KEY_EVENT_MASK); try { jbInit(); } catch(Exception e) { e.printStackTrace(); } | public Gui5250 () { | public Gui5250(SessionConfig config) { propFileName = config.getConfigurationResource(); sesConfig = config; enableEvents(AWTEvent.WINDOW_EVENT_MASK | AWTEvent.KEY_EVENT_MASK); try { jbInit(); } catch(Exception e) { e.printStackTrace(); } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/0686de448db01a9cc1b09cae982858a4d418dae8/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
public void internalFrameActivated(InternalFrameEvent event) { } | public void internalFrameActivated(InternalFrameEvent event) { } | public void internalFrameActivated(InternalFrameEvent event) { } // internalFrameActivated() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/InternalFrameAdapter.java/buggy/core/src/classpath/javax/javax/swing/event/InternalFrameAdapter.java |
public void internalFrameClosed(InternalFrameEvent event) { } | public void internalFrameClosed(InternalFrameEvent event) { } | public void internalFrameClosed(InternalFrameEvent event) { } // internalFrameClosed() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/InternalFrameAdapter.java/buggy/core/src/classpath/javax/javax/swing/event/InternalFrameAdapter.java |
public void internalFrameClosing(InternalFrameEvent event) { } | public void internalFrameClosing(InternalFrameEvent event) { } | public void internalFrameClosing(InternalFrameEvent event) { } // internalFrameClosing() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/InternalFrameAdapter.java/buggy/core/src/classpath/javax/javax/swing/event/InternalFrameAdapter.java |
public void internalFrameDeactivated(InternalFrameEvent event) { } | public void internalFrameDeactivated(InternalFrameEvent event) { } | public void internalFrameDeactivated(InternalFrameEvent event) { } // internalFrameDeactivated() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/InternalFrameAdapter.java/buggy/core/src/classpath/javax/javax/swing/event/InternalFrameAdapter.java |
public void internalFrameDeiconified(InternalFrameEvent event) { } | public void internalFrameDeiconified(InternalFrameEvent event) { } | public void internalFrameDeiconified(InternalFrameEvent event) { } // internalFrameDeiconified() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/InternalFrameAdapter.java/buggy/core/src/classpath/javax/javax/swing/event/InternalFrameAdapter.java |
public void internalFrameIconified(InternalFrameEvent event) { } | public void internalFrameIconified(InternalFrameEvent event) { } | public void internalFrameIconified(InternalFrameEvent event) { } // internalFrameIconified() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/InternalFrameAdapter.java/buggy/core/src/classpath/javax/javax/swing/event/InternalFrameAdapter.java |
public void internalFrameOpened(InternalFrameEvent event) { } | public void internalFrameOpened(InternalFrameEvent event) { } | public void internalFrameOpened(InternalFrameEvent event) { } // internalFrameOpened() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/InternalFrameAdapter.java/buggy/core/src/classpath/javax/javax/swing/event/InternalFrameAdapter.java |
public Bus(Bus parent) { this.parent = parent; this.parentDevice = null; | Bus() { this.parent = null; this.parentDevice = null; | public Bus(Bus parent) { this.parent = parent; this.parentDevice = null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/Bus.java/buggy/core/src/driver/org/jnode/driver/Bus.java |
public DeviceException(String s) { super(s); | public DeviceException() { super(); | public DeviceException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/DeviceException.java/buggy/core/src/driver/org/jnode/driver/DeviceException.java |
private FloatItem(int kind, Register reg, int offsetToFP, float value) { super(kind, reg, offsetToFP); this.value = value; | FloatItem(ItemFactory factory) { super(factory); | private FloatItem(int kind, Register reg, int offsetToFP, float value) { super(kind, reg, offsetToFP); this.value = value; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/FloatItem.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/FloatItem.java |
return createConst(getValue()); | return factory.createFConst(getValue()); | protected WordItem cloneConstant() { return createConst(getValue()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/FloatItem.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/FloatItem.java |
simulateMnemonic(getMnemonicValue(text)); | public void sendKeys(String text) { if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; } else { keysBuffered = true; if(bufferedKeys == null){ ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/99debc0e39981c309029bd7389a7d7c50837d87b/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | |
Graphics2D g2d = getWritingArea(); | public void setStatus(byte attr,byte value,String s) { Graphics2D g2d = getWritingArea(); statusString = s; if (g2d == null) return; try { g2d.setColor(colorBg); g2d.fill(sArea); float Y = ((int)sArea.getY() + fmHeight)- (lm.getLeading() + lm.getDescent()); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/99debc0e39981c309029bd7389a7d7c50837d87b/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | |
if (g2d == null) return; try { g2d.setColor(colorBg); g2d.fill(sArea); | bi.setStatus(attr,value,s, fmWidth, fmHeight, lm, font, colorBg, colorRed, colorWhite); | public void setStatus(byte attr,byte value,String s) { Graphics2D g2d = getWritingArea(); statusString = s; if (g2d == null) return; try { g2d.setColor(colorBg); g2d.fill(sArea); float Y = ((int)sArea.getY() + fmHeight)- (lm.getLeading() + lm.getDescent()); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/99debc0e39981c309029bd7389a7d7c50837d87b/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
float Y = ((int)sArea.getY() + fmHeight)- (lm.getLeading() + lm.getDescent()); switch (attr) { | switch (attr) { | public void setStatus(byte attr,byte value,String s) { Graphics2D g2d = getWritingArea(); statusString = s; if (g2d == null) return; try { g2d.setColor(colorBg); g2d.fill(sArea); float Y = ((int)sArea.getY() + fmHeight)- (lm.getLeading() + lm.getDescent()); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/99debc0e39981c309029bd7389a7d7c50837d87b/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
case STATUS_SYSTEM: if (value == STATUS_VALUE_ON) { statusXSystem =true; g2d.setColor(colorWhite); | case STATUS_SYSTEM: if (value == STATUS_VALUE_ON) { statusXSystem =true; } else statusXSystem = false; break; | public void setStatus(byte attr,byte value,String s) { Graphics2D g2d = getWritingArea(); statusString = s; if (g2d == null) return; try { g2d.setColor(colorBg); g2d.fill(sArea); float Y = ((int)sArea.getY() + fmHeight)- (lm.getLeading() + lm.getDescent()); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/99debc0e39981c309029bd7389a7d7c50837d87b/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
if (s != null) g2d.drawString(s,(float)sArea.getX(),Y); else g2d.drawString(xSystem,(float)sArea.getX(),Y); } else statusXSystem = false; break; case STATUS_ERROR_CODE: if (value == STATUS_VALUE_ON) { g2d.setColor(colorRed); if (s != null) g2d.drawString(s,(float)sArea.getX(),Y); else g2d.drawString(xError,(float)sAre... | case STATUS_ERROR_CODE: if (value == STATUS_VALUE_ON) { statusErrorCode = true; setKeyboardLocked(true); Toolkit.getDefaultToolkit().beep(); } else { statusErrorCode = false; setKeyboardLocked(false); homePos = saveHomePos; saveHomePos = 0; pendingInsert = false; } break; | public void setStatus(byte attr,byte value,String s) { Graphics2D g2d = getWritingArea(); statusString = s; if (g2d == null) return; try { g2d.setColor(colorBg); g2d.fill(sArea); float Y = ((int)sArea.getY() + fmHeight)- (lm.getLeading() + lm.getDescent()); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/99debc0e39981c309029bd7389a7d7c50837d87b/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
updateImage(sArea.getBounds()); | public void setStatus(byte attr,byte value,String s) { Graphics2D g2d = getWritingArea(); statusString = s; if (g2d == null) return; try { g2d.setColor(colorBg); g2d.fill(sArea); float Y = ((int)sArea.getY() + fmHeight)- (lm.getLeading() + lm.getDescent()); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/99debc0e39981c309029bd7389a7d7c50837d87b/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | |
protected void resolve() | protected void resolve(PluginRegistryModel registry) | protected void resolve() throws PluginException { if (getDeclaringPluginDescriptor().getPluginRegistry().getPluginDescriptor(plugin) == null) { throw new PluginException("Unknown plugin " + plugin + " in import of " + getDeclaringPluginDescriptor().getId()); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/PluginPrerequisiteModel.java/clean/core/src/core/org/jnode/plugin/model/PluginPrerequisiteModel.java |
if (getDeclaringPluginDescriptor().getPluginRegistry().getPluginDescriptor(plugin) == null) { | if (registry.getPluginDescriptor(plugin) == null) { | protected void resolve() throws PluginException { if (getDeclaringPluginDescriptor().getPluginRegistry().getPluginDescriptor(plugin) == null) { throw new PluginException("Unknown plugin " + plugin + " in import of " + getDeclaringPluginDescriptor().getId()); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/PluginPrerequisiteModel.java/clean/core/src/core/org/jnode/plugin/model/PluginPrerequisiteModel.java |
protected void unresolve() throws PluginException { | protected void unresolve(PluginRegistryModel registry) throws PluginException { | protected void unresolve() throws PluginException { // Nothing to do } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/PluginPrerequisiteModel.java/clean/core/src/core/org/jnode/plugin/model/PluginPrerequisiteModel.java |
int value = layoutManager.getInitialLocation(jc.getInsets()); if (layoutManager.components[0] != null) value += layoutManager.minimumSizeOfComponent(0); | int value = layoutManager.getInitialLocation(jc.getInsets()) - layoutManager.getAvailableSize(jc.getSize(), jc.getInsets()) + splitPane.getDividerSize(); if (layoutManager.components[1] != null) value += layoutManager.minimumSizeOfComponent(1); | public int getMinimumDividerLocation(JSplitPane jc) { int value = layoutManager.getInitialLocation(jc.getInsets()); if (layoutManager.components[0] != null) value += layoutManager.minimumSizeOfComponent(0); return value; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicSplitPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneUI.java |
Hashtable table; | String property; | public static String getLocalizedString(Locale inLocale, String key, String name, boolean checkEnglish, boolean checkRoot) { String localizedString; Hashtable table; if (key.equals("")) return ""; /* Localize to inLocale */ try { table = (Hashtable) ResourceBundle.getBun... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/LocaleHelper.java/buggy/core/src/classpath/gnu/gnu/java/locale/LocaleHelper.java |
table = (Hashtable) | localizedString = | public static String getLocalizedString(Locale inLocale, String key, String name, boolean checkEnglish, boolean checkRoot) { String localizedString; Hashtable table; if (key.equals("")) return ""; /* Localize to inLocale */ try { table = (Hashtable) ResourceBundle.getBun... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/LocaleHelper.java/buggy/core/src/classpath/gnu/gnu/java/locale/LocaleHelper.java |
inLocale).getObject(name); localizedString = (String) table.get(key); | inLocale).getString(property); | public static String getLocalizedString(Locale inLocale, String key, String name, boolean checkEnglish, boolean checkRoot) { String localizedString; Hashtable table; if (key.equals("")) return ""; /* Localize to inLocale */ try { table = (Hashtable) ResourceBundle.getBun... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/LocaleHelper.java/buggy/core/src/classpath/gnu/gnu/java/locale/LocaleHelper.java |
table = (Hashtable) bundle.getObject(name); localizedString = (String) table.get(key); | localizedString = bundle.getString(property); | public static String getLocalizedString(Locale inLocale, String key, String name, boolean checkEnglish, boolean checkRoot) { String localizedString; Hashtable table; if (key.equals("")) return ""; /* Localize to inLocale */ try { table = (Hashtable) ResourceBundle.getBun... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/LocaleHelper.java/buggy/core/src/classpath/gnu/gnu/java/locale/LocaleHelper.java |
table = (Hashtable) | localizedString = | public static String getLocalizedString(Locale inLocale, String key, String name, boolean checkEnglish, boolean checkRoot) { String localizedString; Hashtable table; if (key.equals("")) return ""; /* Localize to inLocale */ try { table = (Hashtable) ResourceBundle.getBun... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/LocaleHelper.java/buggy/core/src/classpath/gnu/gnu/java/locale/LocaleHelper.java |
Locale.ENGLISH).getObject(name); localizedString= (String) table.get(key); | Locale.ENGLISH).getString(property); | public static String getLocalizedString(Locale inLocale, String key, String name, boolean checkEnglish, boolean checkRoot) { String localizedString; Hashtable table; if (key.equals("")) return ""; /* Localize to inLocale */ try { table = (Hashtable) ResourceBundle.getBun... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/LocaleHelper.java/buggy/core/src/classpath/gnu/gnu/java/locale/LocaleHelper.java |
table = (Hashtable) | localizedString = | public static String getLocalizedString(Locale inLocale, String key, String name, boolean checkEnglish, boolean checkRoot) { String localizedString; Hashtable table; if (key.equals("")) return ""; /* Localize to inLocale */ try { table = (Hashtable) ResourceBundle.getBun... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/LocaleHelper.java/buggy/core/src/classpath/gnu/gnu/java/locale/LocaleHelper.java |
new Locale("","","")).getObject(name); localizedString= (String) table.get(key); | new Locale("","","") ).getString(property); | public static String getLocalizedString(Locale inLocale, String key, String name, boolean checkEnglish, boolean checkRoot) { String localizedString; Hashtable table; if (key.equals("")) return ""; /* Localize to inLocale */ try { table = (Hashtable) ResourceBundle.getBun... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/LocaleHelper.java/buggy/core/src/classpath/gnu/gnu/java/locale/LocaleHelper.java |
Map.Entry e = (Map.Entry) it.next(); | Map.Entry e = (Map.Entry) it2.next(); | private void encodeDer() { ArrayList name = new ArrayList(components.size()); for (Iterator it = components.iterator(); it.hasNext(); ) { Map m = (Map) it.next(); if (m.isEmpty()) continue; Set rdn = new HashSet(); for (Iterator it2 = m.entrySet().iterator(); it2.hasNe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/X500Principal.java/clean/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java |
if (sep == -1) break; | private void parseString(String str) throws IOException { Reader in = new StringReader(str); while (true) { String key = readAttributeType(in); if (key == null) break; String value = readAttributeValue(in); putComponent(key, value); if (sep == ',') newR... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/X500Principal.java/clean/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java | |
throw new EOFException(); | throw new EOFException("partial name read: " + buf); | private String readAttributeType(Reader in) throws IOException { StringBuffer buf = new StringBuffer(); int ch; while ((ch = in.read()) != '=') { if (ch == -1) { if (buf.length() > 0) throw new EOFException(); return null; } if (ch > 12... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/X500Principal.java/clean/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java |
throw new EOFException(); | sep = -1; return buf.toString (); | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/X500Principal.java/clean/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java |
ch = in.read (); | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/X500Principal.java/clean/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java | |
DTD getDTD() { return super.dtd; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/ParserDelegator.java/clean/core/src/classpath/javax/javax/swing/text/html/parser/ParserDelegator.java | ||
public AccessibleJList() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JList.java/clean/core/src/classpath/javax/javax/swing/JList.java | ||
return null; | return new AccessibleJList(); | public AccessibleContext getAccessibleContext() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JList.java/clean/core/src/classpath/javax/javax/swing/JList.java |
Object obj = filelist.getSelectedValue(); | Object obj = new String(parentPath + entry.getText()); | public void actionPerformed(ActionEvent e) { Object obj = filelist.getSelectedValue(); if (obj != null) { File f = filechooser.getFileSystemView().createFileObject(obj .toString()); if (filechooser.isTraversable(f) && ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
File f = filechooser.getFileSystemView().createFileObject(obj .toString()); if (filechooser.isTraversable(f) && filechooser.getFileSelectionMode() == JFileChooser.FILES_ONLY) | File f = filechooser.getFileSystemView().createFileObject( obj.toString()); if (filechooser.isTraversable(f) && filechooser.isDirectorySelectionEnabled()) | public void actionPerformed(ActionEvent e) { Object obj = filelist.getSelectedValue(); if (obj != null) { File f = filechooser.getFileSystemView().createFileObject(obj .toString()); if (filechooser.isTraversable(f) && ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
File f = fsv.createFileObject(list.getSelectedValue().toString()); | String path = list.getSelectedValue().toString(); File f = fsv.createFileObject(path); | public void mouseClicked(MouseEvent e) { if (list.getSelectedValue() == null) return; FileSystemView fsv = filechooser.getFileSystemView(); if (timer.isRunning() && list.getSelectedValue().toString().equals(lastSelected.toString())) { File f = fsv.createFileObject(lastSelected.to... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
lastSelected = list.getSelectedValue().toString(); | lastSelected = path; parentPath = path.substring(0, path.lastIndexOf("/") + 1); entry.setText(path.substring(path.lastIndexOf("/") + 1)); | public void mouseClicked(MouseEvent e) { if (list.getSelectedValue() == null) return; FileSystemView fsv = filechooser.getFileSystemView(); if (timer.isRunning() && list.getSelectedValue().toString().equals(lastSelected.toString())) { File f = fsv.createFileObject(lastSelected.to... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) | if (e.getPropertyName().equals( JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) | public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.DIRECTORY_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.DIRECTORY_CHANGED_PROPERTY)) | public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals(JFileChooser.FILE_FILTER_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals( JFileChooser.FILE_FILTER_CHANGED_PROPERTY)) | public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.DIALOG_TYPE_CHANGED_PROPERTY) || e.getPropertyName().equals(JFileChooser.DIALOG_TITLE_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.DIALOG_TYPE_CHANGED_PROPERTY) || e.getPropertyName().equals( JFileChooser.DIALOG_TITLE_CHANGED_PROPERTY)) | public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTY)) | public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY)) | public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY)) | public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY)) | public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY)) | public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.ACCESSORY_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.ACCESSORY_CHANGED_PROPERTY)) | public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
|| e.getPropertyName().equals(JFileChooser.FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals(JFileChooser.FILE_HIDING_CHANGED_PROPERTY)) | || e.getPropertyName().equals( JFileChooser.FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals( JFileChooser.FILE_HIDING_CHANGED_PROPERTY)) | public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) | if (e.getPropertyName().equals( JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.DIRECTORY_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.DIRECTORY_CHANGED_PROPERTY)) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals(JFileChooser.FILE_FILTER_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals( JFileChooser.FILE_FILTER_CHANGED_PROPERTY)) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.DIALOG_TYPE_CHANGED_PROPERTY) || e.getPropertyName().equals(JFileChooser.DIALOG_TITLE_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.DIALOG_TYPE_CHANGED_PROPERTY) || e.getPropertyName().equals( JFileChooser.DIALOG_TITLE_CHANGED_PROPERTY)) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTY)) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY)) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY)) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY)) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY)) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
else if (e.getPropertyName().equals(JFileChooser.ACCESSORY_CHANGED_PROPERTY)) | else if (e.getPropertyName().equals( JFileChooser.ACCESSORY_CHANGED_PROPERTY)) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
|| e.getPropertyName().equals(JFileChooser.FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals(JFileChooser.FILE_HIDING_CHANGED_PROPERTY)) | || e.getPropertyName().equals( JFileChooser.FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals( JFileChooser.FILE_HIDING_CHANGED_PROPERTY)) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
JTextField entry = new JTextField(); | entry = new JTextField(); | public void installComponents(JFileChooser fc) { JLabel look = new JLabel("Look In:"); parents = new JComboBox(); parents.setRenderer(new CBLabelRenderer()); boxEntries(); look.setLabelFor(parents); JPanel parentsPanel = new JPanel(); parentsPanel.add(look); parentsPanel.add(parents); JPan... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
Object path = filechooser.getCurrentDirectory(); if (path != null) parentPath = path.toString().substring(path.toString().lastIndexOf("/")); | public void installUI(JComponent c) { if (c instanceof JFileChooser) { JFileChooser fc = (JFileChooser) c; fc.resetChoosableFileFilters(); createModel(); clearIconCache(); installDefaults(fc); installComponents(fc); installListeners(fc); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java | |
newaxis.setAxisId(null); | newaxis.setAxisId(findUniqueIdName(AxisObj,newaxis.getAxisId())); AxisObj.put(newaxis.getAxisId(), newaxis); | public Object action (SaxDocumentHandler handler, AttributeList attrs) { // create new object appropriately Axis newaxis = new Axis(); newaxis.setXMLAttributes(attrs); // set XML attributes from passed list // Every axis must have *either* axisId *or* an axisIdRef ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/51c1f5110504af22199bf58d876ab8653c82dee0/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
List iterationList = myLocator.getIterationOrder(); Iterator liter = iterationList.iterator(); while (liter.hasNext()) { Axis axis = (Axis) liter.next(); Log.errorln("ITERATION AXIS NAME:"+axis.getName()); } | public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/51c1f5110504af22199bf58d876ab8653c82dee0/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/51c1f5110504af22199bf58d876ab8653c82dee0/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/51c1f5110504af22199bf58d876ab8653c82dee0/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
addDataToCurrentArray(myLocator, (String) iter.next(), CurrentDataFormat); | String thisData = (String) iter.next(); addDataToCurrentArray(myLocator, thisData, CurrentDataFormat); | public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/51c1f5110504af22199bf58d876ab8653c82dee0/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
LastFastAxisCoordinate = 0; | LastFastAxisCoordinate = -1; | public Object action (SaxDocumentHandler handler, AttributeList attrs) { // we only need to do these things for the first time we enter // a data node if (DataNodeLevel == 0) { // update the array dataCube with passed attributes CurrentArray.getDataCube().setXM... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/51c1f5110504af22199bf58d876ab8653c82dee0/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
newfieldaxis.setAxisId(findUniqueIdName(AxisObj, newfieldaxis.getAxisId())); AxisObj.put(newfieldaxis.getAxisId(), newfieldaxis); | public Object action (SaxDocumentHandler handler, AttributeList attrs) { // create new object appropriately FieldAxis newfieldaxis = new FieldAxis(); newfieldaxis.setXMLAttributes(attrs); // set XML attributes from passed list // Every axis must have *either* axisId *or* an ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/51c1f5110504af22199bf58d876ab8653c82dee0/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.