bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public boolean isCellEditable(EventObject event) { // FIXME: add canedit and caneditimmediately to if. if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); if (realEditor.isCellEditable(event)) { prepareForEditing(); return true; } return ...
public boolean isCellEditable(EventObject event){ // FIXME: add canedit and caneditimmediately to if.if (editingComponent == null)configureEditingComponent(tree, renderer, realEditor);if (realEditor.isCellEditable(event)){prepareForEditing();return true;}return false;}
29,480
public boolean isCellEditable(EventObject event) { // FIXME: add canedit and caneditimmediately to if. if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); if (realEditor.isCellEditable(event)) { prepareForEditing(); return true; } return ...
public boolean isCellEditable(EventObject event) { // FIXME: add canedit and caneditimmediately to if. if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); if (editingComponent != null && realEditor.isCellEditable(event)) { prepareForEditing(); re...
29,481
public void removeCellEditorListener(CellEditorListener listener) { listenerList.remove(CellEditorListener.class, listener); }
public void removeCellEditorListener(CellEditorListener listener) { realEditor.removeCellEditorListener(listener); }
29,483
protected boolean shouldStartEditingTimer(EventObject event) { if (!(event instanceof MouseEvent) && inHitRegion(((MouseEvent) event).getX(), ((MouseEvent) event).getY()) && ((MouseEvent) event). getClickCount() == 1) return true; return false; }
protected boolean shouldStartEditingTimer(EventObject event) { if (!(event instanceof MouseEvent) && inHitRegion(((MouseEvent) event).getX(), ((MouseEvent) event).getY()) && ((MouseEvent) event). getClickCount() == 1) return true; return false; }
29,484
public boolean stopCellEditing() { if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); if (realEditor.stopCellEditing()) { timer.stop(); tree.setCellEditor(null); return true; } return false; }
public boolean stopCellEditing() { if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); if (realEditor.stopCellEditing()) { timer.stop(); tree.setCellEditor(null); return true; } return false; }
29,486
public boolean stopCellEditing() { if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); if (realEditor.stopCellEditing()) { timer.stop(); tree.setCellEditor(null); return true; } return false; }
public boolean stopCellEditing() { if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); if (realEditor.stopCellEditing()) { timer.stop(); return true; } return false; }
29,487
public void valueChanged(TreeSelectionEvent e) { lastPath = e.getNewLeadSelectionPath(); lastRow = tree.getRowForPath(lastPath); TreeSelectionListener[] listeners = tree.getTreeSelectionListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].valueChanged(e); }
public void valueChanged(TreeSelectionEvent e) { lastPath = e.getNewLeadSelectionPath(); lastRow = tree.getRowForPath(lastPath); TreeSelectionListener[] listeners = tree.getTreeSelectionListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].valueChanged(e); }
29,488
public Dimension getPreferredSize() { //Returns the preferred size for the JEditorPane. return super.getPreferredSize(); }
publicDimensiongetPreferredSize(){ //ReturnsthepreferredsizefortheJEditorPane. returnsuper.getPreferredSize();}
29,489
public abstract boolean isLeaf(Object node);
public abstract boolean isLeaf(Object node);
29,490
public TreePath getNewLeadSelectionPath() { return newLeadSelectionPath; } // getNewLeadSelectionPath()
public TreePath getNewLeadSelectionPath() { return newLeadSelectionPath; } // getNewLeadSelectionPath()
29,491
public synchronized ZipEntry getEntry(String name) { ZipEntry entry = super.getEntry(name); if (entry != null) { JarEntry jarEntry = new JarEntry(entry); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jarEntry....
public synchronized ZipEntry getEntry(String name) { ZipEntry entry = super.getEntry(name); if (entry != null) { JarEntry jarEntry = new JarEntry(entry); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jarEntry....
29,492
public static Iterator lookupProviders(Class spi, ClassLoader loader) { InputStream stream; String resourceName; Enumeration urls; if (spi == null) throw new IllegalArgumentException(); if (loader == null) loader = ClassLoader.getSystemClassLoader(); ...
public static Iterator lookupProviders(Class spi, ClassLoader loader) { String resourceName; Enumeration urls; if (spi == null) throw new IllegalArgumentException(); if (loader == null) loader = ClassLoader.getSystemClassLoader(); resourceName = "ME...
29,503
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
private synchronized boolean registerServiceProvider(Object provider, int cat) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerService...
29,504
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
public synchronized void registerServiceProvider(Object provider) { LinkedList provs; boolean result; Class category; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; ...
29,505
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
29,506
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov...
29,507
public PluginRegistryModel(URL[] pluginFiles) throws PluginException { descriptors = loadDescriptors(pluginFiles); resolveDescriptors(); }
public PluginRegistryModel(URL[] pluginFiles) throws PluginException { descriptors = loadDescriptors(pluginFiles); resolveDescriptors(); }
29,508
public Iterator getDescriptorIterator() { return new ObjectArrayIterator(descriptors); }
public Iterator getDescriptorIterator() { return new ObjectArrayIterator(descriptors); }
29,509
public ExtensionPoint getExtensionPoint(String id) { return (ExtensionPoint) getExtensionPointsCache().get(id); }
public ExtensionPoint getExtensionPoint(String id) { return (ExtensionPoint) getExtensionPointsCache().get(id); }
29,510
public PluginDescriptor getPluginDescriptor(String pluginId) { final int max = descriptors.length; for (int i = 0; i < max; i++) { if (descriptors[i].getId().equals(pluginId)) { return descriptors[i]; } } return null; }
public PluginDescriptor getPluginDescriptor(String pluginId) { final int max = descriptors.length; for (int i = 0; i < max; i++) { if (descriptors[i].getId().equals(pluginId)) { return descriptors[i]; } } return null; }
29,511
private PluginDescriptorModel[] loadDescriptors(URL[] pluginFiles) throws PluginException { final int max = pluginFiles.length; final PluginDescriptorModel[] list = new PluginDescriptorModel[max]; for (int i = 0; i < max; i++) { final URL url = pluginFiles[i]; //reader.setValidation(true); //reader.setValidat...
private PluginDescriptorModel[] loadDescriptors(URL[] pluginFiles) throws PluginException { final int max = pluginFiles.length; final PluginDescriptorModel[] list = new PluginDescriptorModel[max]; for (int i = 0; i < max; i++) { final URL url = pluginFiles[i]; //reader.setValidation(true); //reader.setValidat...
29,512
private PluginDescriptorModel[] loadDescriptors(URL[] pluginFiles) throws PluginException { final int max = pluginFiles.length; final PluginDescriptorModel[] list = new PluginDescriptorModel[max]; for (int i = 0; i < max; i++) { final URL url = pluginFiles[i]; //reader.setValidation(true); //reader.setValidat...
private PluginDescriptorModel[] loadDescriptors(URL[] pluginFiles) throws PluginException { final int max = pluginFiles.length; final PluginDescriptorModel[] list = new PluginDescriptorModel[max]; for (int i = 0; i < max; i++) { final URL url = pluginFiles[i]; //reader.setValidation(true); //reader.setValidat...
29,513
private PluginDescriptorModel[] loadDescriptors(URL[] pluginFiles) throws PluginException { final int max = pluginFiles.length; final PluginDescriptorModel[] list = new PluginDescriptorModel[max]; for (int i = 0; i < max; i++) { final URL url = pluginFiles[i]; //reader.setValidation(true); //reader.setValidat...
private PluginDescriptorModel[] loadDescriptors(URL[] pluginFiles) throws PluginException { final int max = pluginFiles.length; final PluginDescriptorModel[] list = new PluginDescriptorModel[max]; for (int i = 0; i < max; i++) { final URL url = pluginFiles[i]; //reader.setValidation(true); //reader.setValidat...
29,514
protected void registerExtensionPoint(ExtensionPoint ep) throws PluginException { final HashMap epMap = getExtensionPointsCache(); if (epMap.containsKey(ep.getUniqueIdentifier())) { throw new PluginException("Duplicate extension point " + ep.getUniqueIdentifier()); } epMap.put(ep.getUniqueIdentifier(), ep); }
protected void registerExtensionPoint(ExtensionPoint ep) throws PluginException { final HashMap epMap = getExtensionPointsCache(); if (epMap.containsKey(ep.getUniqueIdentifier())) { throw new PluginException("Duplicate extension point " + ep.getUniqueIdentifier()); } epMap.put(ep.getUniqueIdentifier(), ep); }
29,515
private void resolveDescriptors() throws PluginException { final int max = descriptors.length; for (int i = 0; i < max; i++) { descriptors[i].resolve(); } }
private void resolveDescriptors() throws PluginException { final int max = descriptors.length; for (int i = 0; i < max; i++) { descriptors[i].resolve(); } }
29,516
public PluginDescriptorModel(PluginRegistryModel registry, XMLElement e) throws PluginException { this.registry = registry; id = getAttribute(e, "id", true); name = getAttribute(e, "name", true); providerName = getAttribute(e, "provider-name", false); version = getAttribute(e, "version", true); className = getAt...
public PluginDescriptorModel(PluginRegistryModel registry, XMLElement e) throws PluginException { this.registry = registry; id = getAttribute(e, "id", true); name = getAttribute(e, "name", true); providerName = getAttribute(e, "provider-name", false); version = getAttribute(e, "version", true); className = getAt...
29,517
private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit...
private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit...
29,518
private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit...
private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit...
29,519
private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit...
private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit...
29,520
private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit...
private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit...
29,521
private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit...
private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit...
29,522
public final void lock() { if (this.owner == VmMagic.currentProcessor()) { // We already own this lock, increment the lock count. lockCount = lockCount.add(Word.one()); } else { final Address ownerAddr = ObjectReference.fromObject(this) .toAddress();...
public final void lock() { if (this.owner == VmMagic.currentProcessor()) { // We already own this lock, increment the lock count. lockCount = lockCount.add(Word.one()); } else { final Address ownerAddr = ObjectReference.fromObject(this) .toAddress();...
29,523
public final void lock() { if (this.owner == VmMagic.currentProcessor()) { // We already own this lock, increment the lock count. lockCount = lockCount.add(Word.one()); } else { final Address ownerAddr = ObjectReference.fromObject(this) .toAddress();...
public final void lock() { if (this.owner == VmMagic.currentProcessor()) { // We already own this lock, increment the lock count. lockCount = lockCount.add(Word.one()); } else { final Address ownerAddr = ObjectReference.fromObject(this) .toAddress();...
29,524
public XBMDecoder(String filename) { super(filename); }
public XBMDecoder(String filename) { super(filename); }
29,525
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
29,526
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
29,527
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
29,528
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
29,529
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
29,530
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
29,531
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
29,532
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
29,533
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
29,534
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
29,535
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
29,536
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
29,537
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
29,538
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
29,539
abstract void produce(Vector v, FileInputStream is) throws IOException;
abstract void produce(Vector v, FileInputStream is) throws IOException;
29,540
protected AccessibleAbstractButton(JComponent c) { super(c); }
protected AccessibleAbstractButton() { super(c); }
29,541
protected AccessibleAbstractButton(JComponent c) { super(c); }
protected AccessibleAbstractButton(JComponent c) { }
29,542
public final Class getCategory() { return JobMessageFromOperator.class; }
public Class getCategory() { return JobMessageFromOperator.class; }
29,543
public final String getName() { return "job-message-from-operator"; }
public String getName() { return "job-message-from-operator"; }
29,544
public InputVerifier() { } // InputVerifier()
public InputVerifier() { } // InputVerifier()
29,545
public boolean shouldYieldFocus(JComponent component) { return verify(component); } // shouldYieldFocus()
public boolean shouldYieldFocus(JComponent component) { return verify(component); } // shouldYieldFocus()
29,546
public boolean shouldYieldFocus(JComponent component) { return verify(component); } // shouldYieldFocus()
public boolean shouldYieldFocus(JComponent component) { return verify(component); } // shouldYieldFocus()
29,547
public CommandShell() throws ShellException { try { ConsoleManager cm = (ConsoleManager) InitialNaming.lookup(ConsoleManager.NAME); if (cm != null) { console = cm.getFocus(); this.out = console.getOut(); this.err = console.getErr(); // listen to the keyboard console.addKeyboardListener(this); ...
public CommandShell() throws ShellException { try { ConsoleManager cm = (ConsoleManager) InitialNaming.lookup(ConsoleManager.NAME); if (cm != null) { console = cm.getFocus(); this.out = console.getOut(); this.err = console.getErr(); // listen to the keyboard console.addKeyboardListener(this); ...
29,548
public void addCommandToHistory(String cmdLineStr) { // Add this command to the history. if (!cmdLineStr.equals(newestLine)) history.addCommand(cmdLineStr); }
public void addCommandToHistory(String cmdLineStr) { // Add this command to the history. if (!cmdLineStr.equals(newestLine)) history.addCommand(cmdLineStr); }
29,549
public Console getConsole() { return console; }
public Console getConsole() { return console; }
29,550
public PrintStream getErrorStream() { return err; }
public PrintStream getErrorStream() { return err; }
29,551
public void list(String[] items) { System.out.println(); for (int i = 0; i < items.length; i++) System.out.println(items[i]); dirty = true; }
public void list(String[] items) { System.out.println(); for (int i = 0; i < items.length; i++) System.out.println(items[i]); dirty = true; }
29,552
protected void processCommand(String cmdLineStr) { commandInvoker.invoke(cmdLineStr); }
protected void processCommand(String cmdLineStr) { commandInvoker.invoke(cmdLineStr); }
29,553
private void redisplay() { // clear the line if (console != null) console.clearLine((int) console.getCursor().getY()); // display the prompt out.print(prompt()); // display the required history/current line if (historyIndex == -1) currentLine = newestLine; else currentLine = history.getCommand(historyI...
private void redisplay() { // clear the line if (console != null) console.clearLine((int) console.getCursor().getY()); // display the prompt out.print(prompt()); // display the required history/current line if (historyIndex == -1) currentLine = newestLine; else currentLine = history.getCommand(historyI...
29,554
public void setDefaultCommandInvoker(){ this.commandInvoker=defaultCommandInvoker; }
public void setDefaultCommandInvoker(){ this.commandInvoker=defaultCommandInvoker; }
29,555
public void setThreadCommandInvoker(){ this.commandInvoker=threadCommandInvoker; }
public void setThreadCommandInvoker(){ this.commandInvoker=threadCommandInvoker; }
29,556
public void clearLine (int y);
public void clearLine (int y);
29,557
public void autoscroll (Point location);
public void autoscroll (Point location);
29,558
public Insets getAutoscrollInsets ();
public Insets getAutoscrollInsets ();
29,559
public Object remove(Object key) { return remove((Key) key); }
public Object remove(Object key) { return hintMap.remove((Key) key); }
29,562
public final Class getCategory() { return DocumentName.class; }
public Class getCategory() { return DocumentName.class; }
29,563
public final String getName() { return "document-name"; }
public String getName() { return "document-name"; }
29,564
public void remove(Component comp) { // If we're removing the root pane, use super.remove. Otherwise // pass it on to the content pane instead. if (comp==rootPane) super.remove(comp); else getContentPane().remove(comp); }
public void remove(Component comp) { // If we're removing the root pane, use super.remove. Otherwise // pass it on to the content pane instead. if (comp==rootPane || ! isRootPaneCheckingEnabled()) super.remove(comp); else getContentPane().remove(comp); }
29,565
public BasicToolBarUI() { super(); }
public BasicToolBarUI() { }
29,571
protected boolean canDock(Component c, Point p) { if (areaOfClick(c, p) != -1) return true; return false; }
public boolean canDock(Component c, Point p) { if (areaOfClick(c, p) != -1) return true; return false; }
29,572
protected boolean canDock(Component c, Point p) { if (areaOfClick(c, p) != -1) return true; return false; }
protected boolean canDock(Component c, Point p) { if (areaOfClick(c, p) != -1) return true; return false; }
29,573
public int getOrientation() { return 0; // TODO } // getOrientation()
public int getOrientation() { return this.orientation; // TODO } // getOrientation()
29,574
public void setOrientation(int orientation) { // TODO } // setOrientation()
publicif (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); if (orientation != this.orientation) { int oldOrientation = this.orientation; this.orientation = orientation; firePropertyChange(ORIENTATION_CHANGED_PROPERTY, oldOrientation,...
29,575
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
29,576
public void paint(Graphics g, JComponent c) { JViewport v = (JViewport)c; Component view = v.getView(); if (view == null) return; Point pos = v.getViewPosition(); Rectangle viewBounds = view.getBounds(); Rectangle portBounds = v.getBounds(); if (viewBounds.width == 0 || viewBo...
public void paint(Graphics g, JComponent c) { JViewport v = (JViewport)c; Component view = v.getView(); if (view == null) return; Point pos = v.getViewPosition(); Rectangle viewBounds = view.getBounds(); Rectangle portBounds = v.getBounds(); if (viewBounds.width == 0 || viewBo...
29,577
public Driver getDriver() { return driver; }
public Driver getDriver() { return driver; }
29,578
public CRL engineGenerateCRL(InputStream inStream) throws CRLException { try { return generateCRL(inStream); } catch (IOException ioe) { CRLException crle = new CRLException(ioe.getMessage()); crle.initCause (ioe); throw crle; } }
public CRL engineGenerateCRL(InputStream inStream) throws CRLException { try { return generateCRL(inStream); } catch (IOException ioe) { CRLException crle = new CRLException(ioe.getMessage()); crle.initCause(ioe); throw crle; } }
29,579
public Collection engineGenerateCRLs(InputStream inStream) throws CRLException { LinkedList crls = new LinkedList(); while (true) { try { crls.add(generateCRL(inStream)); } catch (EOFException eof) { break; } catch (IOExcept...
public Collection engineGenerateCRLs(InputStream inStream) throws CRLException { LinkedList crls = new LinkedList(); while (true) { try { crls.add(generateCRL(inStream)); } catch (EOFException eof) { break; } catch (IOExcept...
29,580
public Certificate engineGenerateCertificate(InputStream inStream) throws CertificateException { try { return generateCert(inStream); } catch (IOException ioe) { CertificateException ce = new CertificateException(ioe.getMessage()); ce.initCause (ioe); throw ce; ...
public Certificate engineGenerateCertificate(InputStream inStream) throws CertificateException { try { return generateCert(inStream); } catch (IOException ioe) { CertificateException ce = new CertificateException(ioe.getMessage()); ce.initCause(ioe); throw ce; ...
29,581
public Collection engineGenerateCertificates(InputStream inStream) throws CertificateException { LinkedList certs = new LinkedList(); while (true) { try { certs.add(generateCert(inStream)); } catch (EOFException eof) { break; } ...
public Collection engineGenerateCertificates(InputStream inStream) throws CertificateException { LinkedList certs = new LinkedList(); while (true) { try { certs.add(generateCert(inStream)); } catch (EOFException eof) { break; } ...
29,582
private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =...
private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =...
29,583
private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =...
private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (! inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i ...
29,584
private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =...
privateX509CRLgenerateCRL(InputStreaminStream)throwsIOException,CRLException{if(inStream==null)thrownewCRLException("missinginputstream");if(!inStream.markSupported())inStream=newBufferedInputStream(inStream,8192);inStream.mark(20);inti=inStream.read();if(i==-1)thrownewEOFException();//IftheinputisinbinaryDERformat,the...
29,585
private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =...
private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =...
29,586
private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =...
private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =...
29,587
private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = in...
private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (! inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = i...
29,588
private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = in...
privateX509CertificategenerateCert(InputStreaminStream)throwsIOException,CertificateException{if(inStream==null)thrownewCertificateException("missinginputstream");if(!inStream.markSupported())inStream=newBufferedInputStream(inStream,8192);inStream.mark(20);inti=inStream.read();if(i==-1)thrownewEOFException();//Iftheinp...
29,589
private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = in...
private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = in...
29,590
private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = in...
private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = in...
29,591
public DataBufferUShort(int size) { super(TYPE_USHORT, size); data = new short[size]; }
public DataBufferUShort(int size) { super(TYPE_USHORT, size, 1, 0); bankData = new short[1][]; data = new short[size]; }
29,592
public int[] lookupPixel(int[] src, int[] dst) throws ArrayIndexOutOfBoundsException { if (dst == null) dst = new int[numComponents]; if (data.length == 1) for (int i=0; i < src.length; i++) dst[i] = data[0][src[i] - offset]; else for (int i=0; i < src.length; i++) dst[i] = data[i][src[i] ...
public int[] lookupPixel(int[] src, int[] dst) throws ArrayIndexOutOfBoundsException { if (dst == null) dst = new int[src.length]; if (data.length == 1) for (int i=0; i < src.length; i++) dst[i] = data[0][src[i] - offset]; else for (int i=0; i < src.length; i++) dst[i] = data[i][src[i] - o...
29,594
public static final IPad getInstance(String pad) { if (pad == null) { return null; } pad = pad.trim().toLowerCase(); if (pad.endsWith("padding")) pad = pad.substring(0, pad.length() - "padding".length()); IPad result = null; if (pad.equals(PKCS7_PAD)) { result = new P...
public static final IPad getInstance(String pad) { if (pad == null) { return null; } pad = pad.trim().toLowerCase(); if (pad.endsWith("padding")) pad = pad.substring(0, pad.length() - "padding".length()); IPad result = null; if (pad.equals(PKCS7_PAD) || pad.equals(PKCS5_PAD)) ...
29,612
public void setHeaderValue(Object headerValue) { // Variables Object oldValue; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
public void setHeaderValue(Object headerValue) { // Variables Object oldValue; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
29,614
public void setHeaderValue(Object headerValue) { // Variables Object oldValue; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
public void setHeaderValue(Object headerValue) { // Variables Object oldValue; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
29,615
public void setHeaderValue(Object headerValue) { // Variables Object oldValue; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
public void setHeaderValue(Object headerValue){ // Variables Object oldValue; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of changefirePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue);}
29,616
public Socket accept() throws IOException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkListen(impl.getLocalPort()); Socket socket = new Socket(); try { implAccept(socket); } catch (IOException e) { try { socket.close(); } catch (IOException e2...
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) { try { s...
29,617