bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public static void write(OutputStream output, int[] value) { ULongSeqHolder h = new ULongSeqHolder(value); h._write(output); }
public static void write(OutputStream output, int[] value) { ULongSeqHolder h = new ULongSeqHolder(value); h._write(output); }
13,833
public void execute(CommandLine commandLine, InputStream in, PrintStream out, PrintStream err) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(commandLine.toStringArray()); if (cmdLine.size() == 0) { Collection<String> resolvers = ResolverImpl.getDnsServers(); if( resolvers == null )...
public void execute(CommandLine commandLine, InputStream in, PrintStream out, PrintStream err) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(commandLine.toStringArray()); if (cmdLine.size() == 0) { Collection<String> resolvers = ResolverImpl.getDnsServers(); if( resolvers == null )...
13,834
public void execute(CommandLine commandLine, InputStream in, PrintStream out, PrintStream err) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(commandLine.toStringArray()); if (cmdLine.size() == 0) { Collection<String> resolvers = ResolverImpl.getDnsServers(); if( resolvers == null )...
public void execute(CommandLine commandLine, InputStream in, PrintStream out, PrintStream err) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(commandLine.toStringArray()); if (cmdLine.size() == 0) { Collection<String> resolvers = ResolverImpl.getDnsServers(); if( resolvers == null )...
13,835
public void execute(CommandLine commandLine, InputStream in, PrintStream out, PrintStream err) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(commandLine.toStringArray()); if (cmdLine.size() == 0) { Collection<String> resolvers = ResolverImpl.getDnsServers(); if( resolvers == null )...
public void execute(CommandLine commandLine, InputStream in, PrintStream out, PrintStream err) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(commandLine.toStringArray()); if (cmdLine.size() == 0) { Collection<String> resolvers = ResolverImpl.getDnsServers(); if( resolvers == null )...
13,836
public AudioClip getAudioClip(URL url) { try { return (url.openConnection() != null ? DUMMY_CLIP : null); } catch (IOException ioe) { return null; } }
public AudioClip getAudioClip(URL url) { try { return (url.openConnection() != null ? DUMMY_CLIP : null); } catch (IOException ioe) { return null; } }
13,837
public void keyPressed(KeyboardEvent e) { int k = e.getKeyCode(); if(e.isControlDown()) switch (k) { case KeyEvent.VK_UP: {if(fy > 0) fy --; break;} case KeyEvent.VK_DOWN: {if(fy < my() - cym) fy ++; break;} case KeyEvent.VK_LEFT: {if(fx > 0) fx ...
public void keyPressed(KeyboardEvent e) { int k = e.getKeyCode(); if(e.isControlDown()) switch (k) { case KeyEvent.VK_UP: {if(fy > 0) fy --; break;} case KeyEvent.VK_DOWN: {if(fy < my() - cym) fy ++; break;} case KeyEvent.VK_LEFT: {if(fx > 0) fx ...
13,838
public void keyPressed(KeyboardEvent e) { int k = e.getKeyCode(); if(e.isControlDown()) switch (k) { case KeyEvent.VK_UP: {if(fy > 0) fy --; break;} case KeyEvent.VK_DOWN: {if(fy < my() - cym) fy ++; break;} case KeyEvent.VK_LEFT: {if(fx > 0) fx ...
public void keyPressed(KeyboardEvent e) { int k = e.getKeyCode(); if(e.isControlDown()) switch (k) { case KeyEvent.VK_UP: {if(fy > 0) fy --; break;} case KeyEvent.VK_DOWN: {if(fy < my() - cym) fy ++; break;} case KeyEvent.VK_LEFT: {if(fx > 0) fx ...
13,839
public void loadFile(File f) throws IOException { ls.clear(); if(!f.exists()) return; BufferedReader br = new BufferedReader(new FileReader(f)); int c; StringBuilder sb = new StringBuilder(); while((c = br.read()) != -1){ if(c == '\n'){ sb.append(...
public void loadFile(File f) throws IOException { ls.clear(); if(!f.exists()) return; BufferedReader br = new BufferedReader(new FileReader(f)); int c; StringBuilder sb = new StringBuilder(); while((c = br.read()) != -1){ if(c == '\n'){ sb.append(...
13,840
public void loadFile(File f) throws IOException { ls.clear(); if(!f.exists()) return; BufferedReader br = new BufferedReader(new FileReader(f)); int c; StringBuilder sb = new StringBuilder(); while((c = br.read()) != -1){ if(c == '\n'){ sb.append(...
public void loadFile(File f) throws IOException { ls.clear(); if(!f.exists()) return; BufferedReader br = new BufferedReader(new FileReader(f)); int c; StringBuilder sb = new StringBuilder(); while((c = br.read()) != -1){ if(c == '\n'){ sb.append(...
13,841
public void loadFile(File f) throws IOException { ls.clear(); if(!f.exists()) return; BufferedReader br = new BufferedReader(new FileReader(f)); int c; StringBuilder sb = new StringBuilder(); while((c = br.read()) != -1){ if(c == '\n'){ sb.append(...
public void loadFile(File f) throws IOException { ls.clear(); if(!f.exists()) return; BufferedReader br = new BufferedReader(new FileReader(f)); int c; StringBuilder sb = new StringBuilder(); while((c = br.read()) != -1){ if(c == '\n'){ sb.append(...
13,842
public ImageReaderIterator(Iterator it) { this.it = it; }
public ImageReaderIterator(Iterator it, Object readerExtension) { this.it = it; }
13,843
public Object next() { try { return ((ImageReaderSpi) it.next()).createReaderInstance(); } catch (IOException e) { return null; } }
public Object next() { try { return ((ImageReaderSpi) it.next()).createReaderInstance(readerExtension); } catch (IOException e) { return null; } }
13,845
public ImageWriterIterator(Iterator it) { this.it = it; }
public ImageWriterIterator(Iterator it, Object writerExtension) { this.it = it; }
13,846
public Object next() { try { return ((ImageWriterSpi) it.next()).createWriterInstance(); } catch (IOException e) { return null; } }
public Object next() { try { return ((ImageWriterSpi) it.next()).createWriterInstance(writerExtension); } catch (IOException e) { return null; } }
13,848
public boolean filter(Object provider) { if (provider instanceof ImageReaderSpi) { ImageReaderSpi spi = (ImageReaderSpi) provider; String[] formatNames = spi.getFormatNames(); for (int i = formatNames.length - 1; i >= 0; --i) if (formatName.equals(formatNames[i])) return true; } retu...
public boolean filter(Object provider) { if (provider instanceof ImageWriterSpi) { ImageReaderSpi spi = (ImageReaderSpi) provider; String[] formatNames = spi.getFormatNames(); for (int i = formatNames.length - 1; i >= 0; --i) if (formatName.equals(formatNames[i])) return true; } retu...
13,849
public boolean filter(Object provider) { if (provider instanceof ImageReaderSpi) { ImageReaderSpi spi = (ImageReaderSpi) provider; String[] formatNames = spi.getFormatNames(); for (int i = formatNames.length - 1; i >= 0; --i) if (formatName.equals(formatNames[i])) return true; } retu...
public boolean filter(Object provider) { if (provider instanceof ImageReaderSpi) { ImageWriterSpi spi = (ImageWriterSpi) provider; String[] formatNames = spi.getFormatNames(); for (int i = formatNames.length - 1; i >= 0; --i) if (formatName.equals(formatNames[i])) return true; } retu...
13,850
public boolean filter(Object provider) { if (provider instanceof ImageReaderSpi) { ImageWriterSpi spi = (ImageWriterSpi) provider; String[] mimetypes = spi.getMIMETypes(); for (int i = mimetypes.length - 1; i >= 0; --i) if (MIMEType.equals(mimetypes[i])) ...
public boolean filter(Object provider) { if (provider instanceof ImageWriterSpi) { ImageWriterSpi spi = (ImageWriterSpi) provider; String[] mimetypes = spi.getMIMETypes(); for (int i = mimetypes.length - 1; i >= 0; --i) if (MIMEType.equals(mimetypes[i])) ...
13,851
public boolean filter(Object provider) { if (provider instanceof ImageReaderSpi) { ImageWriterSpi spi = (ImageWriterSpi) provider; String[] suffixes = spi.getFileSuffixes(); for (int i = suffixes.length - 1; i >= 0; --i) if (fileSuffix.equals(suffixes[i])) ...
public boolean filter(Object provider) { if (provider instanceof ImageWriterSpi) { ImageWriterSpi spi = (ImageWriterSpi) provider; String[] suffixes = spi.getFileSuffixes(); for (int i = suffixes.length - 1; i >= 0; --i) if (fileSuffix.equals(suffixes[i])) ...
13,852
public static Iterator getImageReadersByFormatName(String formatName) { if (formatName == null) throw new IllegalArgumentException("formatName may not be null"); return getReadersByFilter(ImageReaderSpi.class, new ReaderFormatFilter(formatName)); }
public static Iterator getImageReadersByFormatName(String formatName) { if (formatName == null) throw new IllegalArgumentException("formatName may not be null"); return getReadersByFilter(ImageReaderSpi.class, new ReaderFormatFilter(formatName), formatName); }
13,853
public static Iterator getImageReadersByMIMEType(String MIMEType) { if (MIMEType == null) throw new IllegalArgumentException("MIMEType may not be null"); return getReadersByFilter(ImageReaderSpi.class, new ReaderMIMETypeFilter(MIMEType)); }
public static Iterator getImageReadersByMIMEType(String MIMEType) { if (MIMEType == null) throw new IllegalArgumentException("MIMEType may not be null"); return getReadersByFilter(ImageReaderSpi.class, new ReaderMIMETypeFilter(MIMEType), MIMEType); }
13,854
public static Iterator getImageReadersBySuffix(String fileSuffix) { if (fileSuffix == null) throw new IllegalArgumentException("formatName may not be null"); return getReadersByFilter(ImageReaderSpi.class, new ReaderSuffixFilter(fileSuffix)); }
public static Iterator getImageReadersBySuffix(String fileSuffix) { if (fileSuffix == null) throw new IllegalArgumentException("formatName may not be null"); return getReadersByFilter(ImageReaderSpi.class, new ReaderSuffixFilter(fileSuffix), fileSuffix); }
13,855
public static Iterator getImageWritersByFormatName(String formatName) { if (formatName == null) throw new IllegalArgumentException("formatName may not be null"); return getWritersByFilter(ImageWriterSpi.class, new WriterFormatFilter(formatName)); }
public static Iterator getImageWritersByFormatName(String formatName) { if (formatName == null) throw new IllegalArgumentException("formatName may not be null"); return getWritersByFilter(ImageWriterSpi.class, new WriterFormatFilter(formatName), formatName); }
13,856
public static Iterator getImageWritersByMIMEType(String MIMEType) { if (MIMEType == null) throw new IllegalArgumentException("MIMEType may not be null"); return getWritersByFilter(ImageWriterSpi.class, new WriterMIMETypeFilter(MIMEType)); }
public static Iterator getImageWritersByMIMEType(String MIMEType) { if (MIMEType == null) throw new IllegalArgumentException("MIMEType may not be null"); return getWritersByFilter(ImageWriterSpi.class, new WriterMIMETypeFilter(MIMEType), MIMEType); }
13,857
public static Iterator getImageWritersBySuffix(String fileSuffix) { if (fileSuffix == null) throw new IllegalArgumentException("fileSuffix may not be null"); return getWritersByFilter(ImageWriterSpi.class, new WriterSuffixFilter(fileSuffix)); }
public static Iterator getImageWritersBySuffix(String fileSuffix) { if (fileSuffix == null) throw new IllegalArgumentException("fileSuffix may not be null"); return getWritersByFilter(ImageWriterSpi.class, new WriterSuffixFilter(fileSuffix), fileSuffix); }
13,858
private static Iterator getReadersByFilter(Class type, ServiceRegistry.Filter filter) { try { Iterator it = getRegistry().getServiceProviders(type, filter, true); return new ImageReaderIterator(it); } catch (IllegalArgumentException e) { ...
private static Iterator getReadersByFilter(Class type, ServiceRegistry.Filter filter, Object readerExtension) { try { Iterator it = getRegistry().getServiceProviders(type, filter, true); return new ImageReaderIterator(it); } catch (IllegalArgu...
13,859
private static Iterator getReadersByFilter(Class type, ServiceRegistry.Filter filter) { try { Iterator it = getRegistry().getServiceProviders(type, filter, true); return new ImageReaderIterator(it); } catch (IllegalArgumentException e) { ...
private static Iterator getReadersByFilter(Class type, ServiceRegistry.Filter filter) { try { Iterator it = getRegistry().getServiceProviders(type, filter, true); return new ImageReaderIterator(it, readerExtension); } catch (IllegalArgumentExc...
13,860
private static Iterator getWritersByFilter(Class type, ServiceRegistry.Filter filter) { try { Iterator it = getRegistry().getServiceProviders(type, filter, true); return new ImageWriterIterator(it); } catch (IllegalArgumentException e) { return Collections.EMPTY_SET...
private static Iterator getWritersByFilter(Class type, ServiceRegistry.Filter filter, Object writerExtension) { try { Iterator it = getRegistry().getServiceProviders(type, filter, true); return new ImageWriterIterator(it); } catch (IllegalArgumentException e) { retu...
13,861
private static Iterator getWritersByFilter(Class type, ServiceRegistry.Filter filter) { try { Iterator it = getRegistry().getServiceProviders(type, filter, true); return new ImageWriterIterator(it); } catch (IllegalArgumentException e) { return Collections.EMPTY_SET...
private static Iterator getWritersByFilter(Class type, ServiceRegistry.Filter filter) { try { Iterator it = getRegistry().getServiceProviders(type, filter, true); return new ImageWriterIterator(it, writerExtension); } catch (IllegalArgumentException e) { return Coll...
13,862
public void setOutput(Object output) { if (output != null) { // Check if its a valid output object. boolean found = false; Class[] types = null; if (originatingProvider != null) types = originatingProvider.getOutputTypes(); if (types != null) for (int i = types.length - 1; i >= 0; --i) if (types[i]....
public void setOutput(Object output) { if (output != null) { // Check if its a valid output object. boolean found = false; Class[] types = null; if (originatingProvider != null) types = originatingProvider.getOutputTypes(); if (types != null) for (int i = types.length - 1; i >= 0; --i) if (types[i]....
13,863
Node getRow(final int index) { int i = 0; Node thead = getChildElement("thead"); if (thead != null) { for (Node ctx = thead.getFirstChild(); ctx != null; ctx = ctx.getNextSibling()) { if (!"tr".equalsIgnoreCase(ctx.getLocalName())) { c...
Node getRow(final int index) { int i = 0; Node thead = getChildElement("thead"); if (thead != null) { for (Node ctx = thead.getFirstChild(); ctx != null; ctx = ctx.getNextSibling()) { String ctxName = ctx.getLocalName(); if (ctxName == null) { ctxName = ctx.getNo...
13,864
public void propertyChange(PropertyChangeEvent e) { JFileChooser filechooser = getFileChooser(); String n = e.getPropertyName(); if (n.equals(JFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTY)) { int mode = -1; if (filechooser.isMultiSelectionEnabled()) ...
public void propertyChange(PropertyChangeEvent e) { JFileChooser filechooser = getFileChooser(); String n = e.getPropertyName(); if (n.equals(JFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTY)) { int mode = -1; if (filechooser.isMultiSelectionEnabled()) ...
13,866
void editFile(int index) { Rectangle bounds = list.getCellBounds(index, index); list.scrollRectToVisible(bounds); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { startEditing = true; editField = new JTextField(editFile.getName()); ...
void editFile(int index) { Rectangle bounds = list.getCellBounds(index, index); list.scrollRectToVisible(bounds); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { startEditing = true; editField = new JTextField(editFile.getName()); ...
13,868
protected JPanel createList(JFileChooser fc) { if (fileList == null) { fileListPanel = new JPanel(new BorderLayout()); fileList = new JList(getModel()); scrollPane = new JScrollPane(fileList); // FIXME: fileList.setLayoutOrientation(JList.VERTICAL_WRAP); fileList.setCellRenderer(ne...
protected JPanel createList(JFileChooser fc) { if (fileList == null) { fileListPanel = new JPanel(new BorderLayout()); fileList = new JList(getModel()); scrollPane = new JScrollPane(fileList); // FIXME: fileList.setLayoutOrientation(JList.VERTICAL_WRAP); fileList.setCellRenderer(ne...
13,870
public Dimension getMinimumSize(JComponent c) { Dimension tp = topPanel.getMinimumSize(); Dimension bp = bottomPanel.getMinimumSize(); Dimension bup = buttonPanel.getMinimumSize(); Dimension fl = fileList.getMinimumSize(); return new Dimension((tp.width + bp.width + bup.width + fl.width), ...
public Dimension getMinimumSize(JComponent c) { Dimension tp = topPanel.getMinimumSize(); Dimension bp = bottomPanel.getMinimumSize(); Dimension bup = buttonPanel.getMinimumSize(); Dimension fl = fileList.getMinimumSize(); return new Dimension((tp.width + bp.width + bup.width + fl.width), ...
13,871
public Dimension getPreferredSize(JComponent c) { Dimension tp = topPanel.getPreferredSize(); Dimension bp = bottomPanel.getPreferredSize(); Dimension bup = buttonPanel.getPreferredSize(); Dimension fl = fileList.getPreferredSize(); return new Dimension((tp.width + bp.width + bup.width + fl.wid...
public Dimension getPreferredSize(JComponent c) { Dimension tp = topPanel.getPreferredSize(); Dimension bp = bottomPanel.getPreferredSize(); Dimension bup = buttonPanel.getPreferredSize(); Dimension fl = fileList.getPreferredSize(); return new Dimension((tp.width + bp.width + bup.width + fl.wid...
13,872
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); dirLabel = new JLabel(directoryLabel); topPanel.add(dirLabel, BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new Ver...
13,873
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
13,874
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
13,875
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
13,876
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
13,877
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
13,878
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ...
13,879
protected void installStrings(JFileChooser fc) { super.installStrings(fc); directoryLabel = "Look In: "; fileLabel = "File Name: "; filterLabel = "Files of Type: "; this.cancelButtonMnemonic = 0; this.cancelButtonText = "Cancel"; this.cancelButtonToolTipText = "Abort file chooser di...
protected void installStrings(JFileChooser fc) { super.installStrings(fc); look = "Look In: "; save = "Save In: "; if (fc.getDialogType() == JFileChooser.SAVE_DIALOG) directoryLabel = save; else directoryLabel = look; fileLabel = "File Name: "; filterLabel = "Files of Type: "; this.cancelBu...
13,881
JPanel updateTable() { DefaultTableModel mod = (DefaultTableModel) fileTable.getModel(); ListModel lm = fileList.getModel(); DateFormat dt = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT); File curr = null; int size = lm.getSize(); ...
JPanel updateTable() { DefaultTableModel mod = (DefaultTableModel) fileTable.getModel(); ListModel lm = fileList.getModel(); DateFormat dt = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT); File curr = null; int size = lm.getSize(); ...
13,882
JPanel updateTable() { DefaultTableModel mod = (DefaultTableModel) fileTable.getModel(); ListModel lm = fileList.getModel(); DateFormat dt = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT); File curr = null; int size = lm.getSize(); ...
JPanel updateTable() { DefaultTableModel mod = (DefaultTableModel) fileTable.getModel(); ListModel lm = fileList.getModel(); DateFormat dt = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT); File curr = null; int size = lm.getSize(); ...
13,883
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ProcessingInstructionNode(name); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; }
TemplateNode clone(Stylesheet stylesheet) TemplateNode ret = new ProcessingInstructionNode(name); if (children != null) ret.children = children.clone(stylesheet); } if (next != null) ret.next = next.clone(stylesheet); } return ret; }
13,884
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ProcessingInstructionNode(name); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; }
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ProcessingInstructionNode(name); if (children != null) { ret.children = children.clone(stylesheet); if (next != null) { ret.next = next.clone(stylesheet); return ret;
13,885
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String data = null; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException String data = null; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
13,886
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String data = null; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String data = null; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
13,887
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("name="); buf.append(name); buf.append(']'); return buf.toString(); }
public String toString() { StringBuffer buf = new StringBuffer("processing-instruction"); buf.append('['); buf.append("name="); buf.append(name); buf.append(']'); return buf.toString(); }
13,888
public UDPProtocol(IPv4Service ipService) throws NetworkException { this.ipService = ipService; this.icmp = new ICMPUtils(ipService); try { dsiFactory = new UDPDatagramSocketImplFactory(this); try { AccessController.doPrivileged(new PrivilegedExceptionAction...
public UDPProtocol(IPv4Service ipService) throws NetworkException { this.ipService = ipService; this.icmp = new ICMPUtils(ipService); try { dsiFactory = new UDPDatagramSocketImplFactory(this); try { AccessController.doPrivileged(new PrivilegedExceptionAction...
13,890
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || title != null && index >= title.length()) throw new IllegalArgumentException(); if (title == null || title.charAt(index) != mnemonicKey) index = -1; underlinedChar...
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || title != null && index >= title.length()) throw new IllegalArgumentException(); if (title == null || mnemonicKey == 0 || title.charAt(index) != mnemonicKey) index = -1;...
13,892
TemplateNode clone(Stylesheet stylesheet) { int len = sortKeys.size(); List sortKeys2 = new ArrayList(len); for (int i = 0; i < len; i++) { sortKeys2.add(((Key) sortKeys.get(i)).clone(stylesheet)); } TemplateNode ret = new ForEachNode(select.clone(stylesheet), s...
TemplateNode clone(Stylesheet stylesheet) int len = sortKeys.size(); List sortKeys2 = new ArrayList(len); for (int i = 0; i < len; i++) sortKeys2.add(((Key) sortKeys.get(i)).clone(stylesheet)); } TemplateNode ret = new ForEachNode(select.clone(stylesheet), sor...
13,893
TemplateNode clone(Stylesheet stylesheet) { int len = sortKeys.size(); List sortKeys2 = new ArrayList(len); for (int i = 0; i < len; i++) { sortKeys2.add(((Key) sortKeys.get(i)).clone(stylesheet)); } TemplateNode ret = new ForEachNode(select.clone(stylesheet), s...
TemplateNode clone(Stylesheet stylesheet) { int len = sortKeys.size(); List sortKeys2 = new ArrayList(len); for (int i = 0; i < len; i++) { sortKeys2.add(((Key) sortKeys.get(i)).clone(stylesheet)); TemplateNode ret = new ForEachNode(select.clone(stylesheet), so...
13,894
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (children != null) { // Set current template to null Template saved = stylesheet.currentTemplate; stylesheet.currentT...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException if (children != null) // Set current template to null Template saved = stylesheet.currentTemplate; stylesheet.currentTem...
13,895
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (children != null) { // Set current template to null Template saved = stylesheet.currentTemplate; stylesheet.currentT...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (children != null) { // Set current template to null Template saved = stylesheet.currentTemplate; stylesheet.currentT...
13,896
public boolean references(QName var) { if (select != null && select.references(var)) { return true; } if (sortKeys != null) { for (Iterator i = sortKeys.iterator(); i.hasNext(); ) { if (((SortKey) i.next()).references(var)) { return t...
public boolean references(QName var) if (select != null && select.references(var)) return true; } if (sortKeys != null) for (Iterator i = sortKeys.iterator(); i.hasNext(); ) if (((SortKey) i.next()).references(var)) return true; ...
13,897
public boolean references(QName var) { if (select != null && select.references(var)) { return true; } if (sortKeys != null) { for (Iterator i = sortKeys.iterator(); i.hasNext(); ) { if (((SortKey) i.next()).references(var)) { return t...
public boolean references(QName var) { if (select != null && select.references(var)) { return true; if (sortKeys != null) { for (Iterator i = sortKeys.iterator(); i.hasNext(); ) { if (((SortKey) i.next()).references(var)) { return tr...
13,898
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("select="); buf.append(select); buf.append(']'); return buf.toString(); }
public String toString() { StringBuffer buf = new StringBuffer("for-each"); buf.append('['); buf.append("select="); buf.append(select); buf.append(']'); return buf.toString(); }
13,899
cObject(org.omg.CORBA.Object _object, int _port, byte[] _key) { object = _object; port = _port; key = _key; }
cObject(org.omg.CORBA.Object _object, int _port, byte[] _key, java.lang.Object an_identity ) { object = _object; port = _port; key = _key; }
13,900
public cObject add(org.omg.CORBA.Object object, int port) { return add(generateObjectKey(object), object, port); }
public cObject add(org.omg.CORBA.Object object, int port) { return add(generateObjectKey(object), object, port, null); }
13,902
public cObject getKey(org.omg.CORBA.Object stored_object) { Map.Entry item; Iterator iter = objects.entrySet().iterator(); cObject ref; while (iter.hasNext()) { item = (Map.Entry) iter.next(); ref = (cObject) item.getValue(); if (stored_object.equals(ref.object)) return...
public cObject getKey(org.omg.CORBA.Object stored_object) { Map.Entry item; Iterator iter = objects.entrySet().iterator(); cObject ref; while (iter.hasNext()) { item = (Map.Entry) iter.next(); ref = (cObject) item.getValue(); if (stored_object.equals(ref.object) || stored_object...
13,904
public Object getProperty(String string) { if (properties == null) return null; return properties.get(string); }
public Object getProperty(String string) { if (properties == null) return null; return properties.get(string); }
13,907
protected void fireValueChanged(TreeSelectionEvent event) { TreeSelectionListener[] listeners = getTreeSelectionListeners(); for (int i = listeners.length - 1; i >= 0; --i) listeners[i].valueChanged(event); }
protected void fireValueChanged(TreeSelectionEvent event) { TreeSelectionListener[] listeners = getTreeSelectionListeners(); for (int i = 0; i < listeners.length; ++i) listeners[i].valueChanged(event); }
13,911
public TreeSelectionListener[] getTreeSelectionListeners() { return (TreeSelectionListener[]) listenerList.getListeners(TreeSelectionListener.class); }
public TreeSelectionListener[] getTreeSelectionListeners() { return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class); }
13,912
public boolean isPathSelected(TreePath value0) { return false; // TODO }
public boolean isPathSelected(TreePath value0) { if (selection == null) return false; for (int i = 0; i < selection.length; i++) { if (selection[i].equals(value0)) return true; } return false; // TODO }
13,913
public final Object getObject(String key) { for (ResourceBundle bundle = this; bundle != null; bundle = bundle.parent) { Object o = bundle.handleGetObject(key); if (o != null) return o; } throw new MissingResourceException("Key not found", getClass().getName(), ...
public final Object getObject(String key) { for (ResourceBundle bundle = this; bundle != null; bundle = bundle.parent) { Object o = bundle.handleGetObject(key); if (o != null) return o; } throw new MissingResourceException("Key not found", getClass().getName(), ...
13,916
private static ResourceBundle tryBundle(String localizedName, ClassLoader classloader) { ResourceBundle bundle = null; try { Class rbClass; if (classloader == null) rbClass = Class.forName(localizedName); else rbClass = c...
private static ResourceBundle tryBundle(String localizedName, ClassLoader classloader) { ResourceBundle bundle = null; try { Class rbClass; if (classloader == null) rbClass = Class.forName(localizedName); else rbClass = c...
13,917
public final void clear() { isTimeSet = false; areFieldsSet = false; int hour = fields[ZONE_OFFSET] / (60 * 60 * 1000); int minute = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int...
public final void clear() { isTimeSet = false; areFieldsSet = false; int hour = fields[ZONE_OFFSET] / (60 * 60 * 1000); int minute = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int...
13,918
public final void clear() { isTimeSet = false; areFieldsSet = false; int hour = fields[ZONE_OFFSET] / (60 * 60 * 1000); int minute = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int...
public final void clear() { isTimeSet = false; areFieldsSet = false; int hour = fields[ZONE_OFFSET] / (60 * 60 * 1000); int minute = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int...
13,919
public final void clear() { isTimeSet = false; areFieldsSet = false; int hour = fields[ZONE_OFFSET] / (60 * 60 * 1000); int minute = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int...
public final void clear() { isTimeSet = false; areFieldsSet = false; int hour = fields[ZONE_OFFSET] / (60 * 60 * 1000); int minute = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int...
13,920
public final void clear() { isTimeSet = false; areFieldsSet = false; int hour = fields[ZONE_OFFSET] / (60 * 60 * 1000); int minute = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int...
public final void clear() { isTimeSet = false; areFieldsSet = false; int hour = fields[ZONE_OFFSET] / (60 * 60 * 1000); int minute = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int...
13,921
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); table.setFont(defaults.getFont("Table.font")); table.setGridColor(defaults.getColor("Table.gridColor")); table.setForeground(defaults.getColor("Table.foreground")); table.setBackground(defaults.getColor("Tabl...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); table.setFont(defaults.getFont("Table.font")); table.setGridColor(defaults.getColor("Table.gridColor")); table.setForeground(defaults.getColor("Table.foreground")); table.setBackground(defaults.getColor("Tabl...
13,922
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); table.setFont(defaults.getFont("Table.font")); table.setGridColor(defaults.getColor("Table.gridColor")); table.setForeground(defaults.getColor("Table.foreground")); table.setBackground(defaults.getColor("Tabl...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); table.setFont(defaults.getFont("Table.font")); table.setGridColor(defaults.getColor("Table.gridColor")); table.setForeground(defaults.getColor("Table.foreground")); table.setBackground(defaults.getColor("Tabl...
13,923
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
13,925
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
13,926
public static void main(String[] args) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(args); final File dir = ARG_DIR.getFile(cmdLine); if (dir.exists() && dir.isDirectory()) { System.setProperty("user.dir", dir.getAbsoluteFile().getCanonicalPath()); } else if("/".equals(dir.getCanonicalPath())) { ...
public static void main(String[] args) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(args); final File dir = ARG_DIR.getFile(cmdLine); if (dir.exists() && dir.isDirectory()) { System.setProperty("user.dir", dir.getAbsoluteFile().getCanonicalPath()); } else if("/".equals(dir.getCanonicalPath())) { ...
13,929
private void doAssembly() { for (int i = 0; i < modules.size(); i++) { ((AssemblerModule) modules.get(i)).setNativeStream(nativeStream); } for (Iterator it = instructions.iterator(); it.hasNext();) { Instruction ins = (Instruction) it.next(); //handle prefixes ...
private void doAssembly() { for (int i = 0; i < modules.size(); i++) { ((AssemblerModule) modules.get(i)).setNativeStream(nativeStream); } for (Iterator it = instructions.iterator(); it.hasNext();) { Instruction ins = (Instruction) it.next(); //handle prefixes ...
13,930
public void add(int index, Object element) { elements.add(index, element); fireContentsChanged(this, index, index); }
public void add(int index, Object element) { elements.add(index, element); fireIntervalAdded(this, index, index); }
13,931
public void addElement(Object element) { elements.add(element); fireIntervalAdded(this, elements.size(), elements.size()); }
public void addElement(Object element) { elements.add(element); fireIntervalAdded(this, s, s); }
13,932
public void clear() { elements.clear(); fireIntervalRemoved(this, 0, elements.size()); }
public void clear() { elements.clear(); fireIntervalRemoved(this, 0, s - 1); } }
13,933
public String getAccessibleName() { return accessibleName == null ? getName() : accessibleName; }
public String getAccessibleName() { return accessibleName; }
13,935
void dispatchEventImpl(AWTEvent e) { // Give toolkit a chance to dispatch the event // to globally registered listeners. Toolkit.getDefaultToolkit().globalDispatchEvent(e); // This boolean tells us not to process focus events when the focus // opposite component is the same as the focus component. ...
void dispatchEventImpl(AWTEvent e) { // Give toolkit a chance to dispatch the event // to globally registered listeners. Toolkit.getDefaultToolkit().globalDispatchEvent(e); // This boolean tells us not to process focus events when the focus // opposite component is the same as the focus component. ...
13,936
void dispatchEventImpl(AWTEvent e) { // Give toolkit a chance to dispatch the event // to globally registered listeners. Toolkit.getDefaultToolkit().globalDispatchEvent(e); // This boolean tells us not to process focus events when the focus // opposite component is the same as the focus component. ...
void dispatchEventImpl(AWTEvent e) { // Give toolkit a chance to dispatch the event // to globally registered listeners. Toolkit.getDefaultToolkit().globalDispatchEvent(e); // This boolean tells us not to process focus events when the focus // opposite component is the same as the focus component. ...
13,937
protected void processMouseEvent(MouseEvent e) { if (mouseListener == null) return; switch (e.id) { case MouseEvent.MOUSE_CLICKED: mouseListener.mouseClicked(e); break; case MouseEvent.MOUSE_ENTERED: mouseListener.mouseEntered(e); break; case MouseEvent.MOUSE_EXITED: mo...
protected void processMouseEvent(MouseEvent e) { if (mouseListener == null) return; switch (e.id) { case MouseEvent.MOUSE_CLICKED: mouseListener.mouseClicked(e); break; case MouseEvent.MOUSE_ENTERED: mouseListener.mouseEntered(e); break; case MouseEvent.MOUSE_EXITED: mo...
13,939
protected SoundbankResource(Soundbank soundBank, String name, Class dataClass) { this.soundBank = soundBank; this.name = name; this.dataClass = dataClass; }
protected SoundbankResource(Soundbank soundbank, String name, Class dataClass) { this.soundBank = soundBank; this.name = name; this.dataClass = dataClass; }
13,940
protected SoundbankResource(Soundbank soundBank, String name, Class dataClass) { this.soundBank = soundBank; this.name = name; this.dataClass = dataClass; }
protected SoundbankResource(Soundbank soundBank, String name, Class dataClass) { this.soundbank = soundbank; this.name = name; this.dataClass = dataClass; }
13,941
EventQueue.invokeLater(new Runnable() { public void run() { } });
public void run() { }
13,942
public void setSelectedIndex(int index) { checkIndex(index, -1, tabs.size()); if (index != getSelectedIndex()) { if (getSelectedIndex() != -1 && getSelectedComponent() != null) getSelectedComponent().hide(); if (index != -1 && getComponentAt(index) != null) getComponentAt(index).show(); model.setSelec...
public void setSelectedIndex(int index) { checkIndex(index, -1, tabs.size()); if (index != getSelectedIndex()) { if (getSelectedIndex() != -1 && getSelectedComponent() != null) getSelectedComponent().hide(); if (index != -1 && getComponentAt(index) != null) getComponentAt(index).show(); model.setSelec...
13,943
public void addActionListener(ActionListener listener) { actions.addElement(listener); }
public void addActionListener(ActionListener listener) { listenerList.add (ActionListener.class, listener); }
13,944
void fireActionPerformed() { for (int i=0;i<actions.size();i++) { ActionListener a = (ActionListener) actions.elementAt(i); a.actionPerformed(new ActionEvent(this, ticks, "Timer")); } }
protected void fireActionPerformed (ActionEvent event) { for (int i=0;i<actions.size();i++) { ActionListener a = (ActionListener) actions.elementAt(i); a.actionPerformed(new ActionEvent(this, ticks, "Timer")); } }
13,945
void fireActionPerformed() { for (int i=0;i<actions.size();i++) { ActionListener a = (ActionListener) actions.elementAt(i); a.actionPerformed(new ActionEvent(this, ticks, "Timer")); } }
void fireActionPerformed() { ActionListener[] listeners = getActionListeners(); for (int i = 0; i < listeners.length; i++) { ActionListener a = (ActionListener) actions.elementAt(i); a.actionPerformed(new ActionEvent(this, ticks, "Timer")); } }
13,946
void fireActionPerformed() { for (int i=0;i<actions.size();i++) { ActionListener a = (ActionListener) actions.elementAt(i); a.actionPerformed(new ActionEvent(this, ticks, "Timer")); } }
void fireActionPerformed() { for (int i=0;i<actions.size();i++) { ActionListener a = (ActionListener) actions.elementAt(i); a.actionPerformed(new ActionEvent(this, ticks, "Timer")); } }
13,947
public void removeActionListener(ActionListener listener) { actions.removeElement(listener); }
public void removeActionListener(ActionListener listener) { listenerList.remove (ActionListener.class, listener); }
13,948
protected void init(String text, Icon icon) { super.init(text, icon); setModel(new DefaultButtonModel()); // Initializes properties for this menu item, that are different // from Abstract button properties. /* NOTE: According to java specifications paint_border should be set to false, since menu...
protected void init(String text, Icon icon) { super.init(text, icon); setModel(new DefaultButtonModel()); // Initializes properties for this menu item, that are different // from Abstract button properties. /* NOTE: According to java specifications paint_border should be set to false, since menu...
13,949
public boolean filter (Object provider) { if (provider instanceof ImageReaderSpi) { ImageWriterSpi spi = (ImageWriterSpi) provider; String[] formatNames = spi.getFormatNames(); for (int i = formatNames.length - 1; i >= 0; --i) if (formatName.equals(formatNames[i]...
public boolean filter (Object provider) { if (provider instanceof ImageReaderSpi) { ImageReaderSpi spi = (ImageReaderSpi) provider; String[] formatNames = spi.getFormatNames(); for (int i = formatNames.length - 1; i >= 0; --i) if (formatName.equals(formatNames[i]...
13,950
public EntityReference createEntityReference(String name, //EntityDeclaration declaration) String replacementText) { //return new EntityReferenceImpl(location, declaration, name); return new EntityReferenceImpl(location...
public EntityReference createEntityReference(String name, //EntityDeclaration declaration) EntityDeclaration declaration) { //return new EntityReferenceImpl(location, declaration, name); return new EntityReferenceImpl(l...
13,951
public EntityReference createEntityReference(String name, //EntityDeclaration declaration) String replacementText) { //return new EntityReferenceImpl(location, declaration, name); return new EntityReferenceImpl(location...
public EntityReference createEntityReference(String name, //EntityDeclaration declaration) String replacementText) { //return new EntityReferenceImpl(location, declaration, name); return new EntityReferenceImpl(location...
13,952
private String parseXMLDecl(boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
private String parseXMLDecl(boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { ...
13,953
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
13,954