bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
3,232,345
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
3,232,346
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
3,232,347
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
3,232,348
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
3,232,349
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
public UIComponent getEditContainer() { WFUtilArticle localizer = WFUtilArticle.getWFUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessag...
3,232,350
public DisplayedDocument(Shell shell) { // Shell this.shell = shell; shell.setText("Koala Notes"); shell.setLayout(new FillLayout(SWT.VERTICAL)); // Document Note root = new Note("root", null, ""); document = new Document(root); // Controllers controllers = new Controllers(this); // Listener listene...
public DisplayedDocument(Shell shell) { // Shell this.shell = shell; shell.setText("Koala Notes"); shell.setLayout(new FillLayout(SWT.VERTICAL)); // Document Note root = new Note("root", null, ""); document = new Document(root); // Controllers controllers = new Controllers(this); // Listener listene...
3,232,351
public DisplayedDocument(Shell shell) { // Shell this.shell = shell; shell.setText("Koala Notes"); shell.setLayout(new FillLayout(SWT.VERTICAL)); // Document Note root = new Note("root", null, ""); document = new Document(root); // Controllers controllers = new Controllers(this); // Listener listene...
public DisplayedDocument(Shell shell) { // Shell this.shell = shell; shell.setText("Koala Notes"); shell.setLayout(new FillLayout(SWT.VERTICAL)); // Document Note root = new Note("root", null, ""); document = new Document(root); // Controllers controllers = new Controllers(this); // Listener listene...
3,232,352
protected Timestamp timeOfEvent( Event event ) { if (event==null) return null; if (!event.isLoaded()) return null; if (event.getTime()==null) return null; return new Timestamp( event.getTime().getTime() ); }
protected Timestamp timeOfEvent( Event event ) { if (event==null) return null; if (!event.isLoaded()) return null; if (event.getTime()==null) return null; return new Timestamp( event.getTime().getTime() ); }
3,232,353
private static IRubyObject evalInternal(ThreadContext context, Node node, IRubyObject self) { IRuby runtime = context.getRuntime(); bigloop: do { if (node == null) return runtime.getNil(); switch (node.nodeId) { case NodeTypes.ALIASNODE: { AliasN...
private static IRubyObject evalInternal(ThreadContext context, Node node, IRubyObject self) { IRuby runtime = context.getRuntime(); bigloop: do { if (node == null) return runtime.getNil(); switch (node.nodeId) { case NodeTypes.ALIASNODE: { AliasN...
3,232,354
private static IRubyObject evalInternal(ThreadContext context, Node node, IRubyObject self) { IRuby runtime = context.getRuntime(); bigloop: do { if (node == null) return runtime.getNil(); switch (node.nodeId) { case NodeTypes.ALIASNODE: { AliasN...
private static IRubyObject evalInternal(ThreadContext context, Node node, IRubyObject self) { IRuby runtime = context.getRuntime(); bigloop: do { if (node == null) return runtime.getNil(); switch (node.nodeId) { case NodeTypes.ALIASNODE: { AliasN...
3,232,355
public static void testCopy() throws IOException { CopyFiles.copy(tmpDir); assertTrue(new File(tmpDir, "help.html").isFile()); assertTrue(new File(tmpDir, "index.html").isFile()); File cssDir = new File(tmpDir, "css"); assertTrue(cssDir.isDirectory()); assertTrue(new File(cssDir, "help.css").isFile()); assertTr...
public static void testCopy() throws IOException { CopyFiles.copy(tmpDir); assertTrue(new File(tmpDir, "help.html").isFile()); assertTrue(new File(tmpDir, "index.html").isFile()); File cssDir = new File(tmpDir, "css"); assertTrue(cssDir.isDirectory()); assertTrue(new File(cssDir, "help.css").isFile()); assertTr...
3,232,356
public static RubyClass createArrayClass(Ruby ruby) { RubyClass arrayClass = ruby.defineClass("Array", ruby.getClasses().getObjectClass()); arrayClass.includeModule(ruby.getModule("Enumerable")); CallbackFactory callbackFactory = ruby.callbackFactory(); arrayClass.defineSingletonMethod("...
public static RubyClass createArrayClass(Ruby ruby) { RubyClass arrayClass = ruby.defineClass("Array", ruby.getClasses().getObjectClass()); arrayClass.includeModule(ruby.getModule("Enumerable")); CallbackFactory callbackFactory = ruby.callbackFactory(); arrayClass.defineSingletonMethod("...
3,232,357
public static RubyClass createArrayClass(Ruby ruby) { RubyClass arrayClass = ruby.defineClass("Array", ruby.getClasses().getObjectClass()); arrayClass.includeModule(ruby.getModule("Enumerable")); CallbackFactory callbackFactory = ruby.callbackFactory(); arrayClass.defineSingletonMethod("...
public static RubyClass createArrayClass(Ruby ruby) { RubyClass arrayClass = ruby.defineClass("Array", ruby.getClasses().getObjectClass()); arrayClass.includeModule(ruby.getModule("Enumerable")); CallbackFactory callbackFactory = ruby.callbackFactory(); arrayClass.defineSingletonMethod("...
3,232,358
public IRubyObject initialize(IRubyObject[] args) { int argc = argCount(args, 0, 2); long len = 0; if (argc != 0) len = RubyNumeric.fix2long(args[0]); modify(); if (len < 0) { throw new ArgumentError(getRuntime(), "negative array size"); } if (l...
public IRubyObject initialize(IRubyObject[] args) { int argc = argCount(args, 0, 2); long len = 0; if (argc != 0) len = RubyNumeric.fix2long(args[0]); modify(); if (len < 0) { throw new ArgumentError(getRuntime(), "negative array size"); } if (l...
3,232,359
public IRubyObject initialize(IRubyObject[] args) { int argc = argCount(args, 0, 2); long len = 0; if (argc != 0) len = RubyNumeric.fix2long(args[0]); modify(); if (len < 0) { throw new ArgumentError(getRuntime(), "negative array size"); } if (l...
public IRubyObject initialize(IRubyObject[] args) { int argc = argCount(args, 0, 2); long len = 0; if (argc != 0) len = RubyNumeric.fix2long(args[0]); modify(); if (len < 0) { throw new ArgumentError(getRuntime(), "negative array size"); } if (l...
3,232,360
public void loadInto(DatasetData data, ThumbnailSourceModel tsm) { if(data == null || tsm == null) { // do nothing return; } List imageList; try { imageList = data.getImages(); } catch(DataException de) { ...
public void loadInto(DatasetData data, ThumbnailSourceModel tsm) { if(data == null || tsm == null) { // do nothing return; } List imageList; try { imageList = data.getImages(); } catch(DataException de) { ...
3,232,362
public void putImageData(Image image) { if(image != null) { sourceMap.put(new Integer(image.getID()),image); } }
public void putImageData(ImageData imageData) { if(image != null) { sourceMap.put(new Integer(image.getID()),image); } }
3,232,363
public void putImageData(Image image) { if(image != null) { sourceMap.put(new Integer(image.getID()),image); } }
public void putImageData(Image image) { if(imageData != null) { sourceMap.put(new Integer(image.getID()),image); } }
3,232,364
public void putImageData(Image image) { if(image != null) { sourceMap.put(new Integer(image.getID()),image); } }
public void putImageData(Image image) { if(image != null) { sourceMap.put(new Integer(imageData.getID()),imageData); } }
3,232,365
protected void tearDown() throws Exception { session = null; mockStateful.reset(); mockStateless.reset(); mockSession.reset(); mockFactory.reset(); mockTransaction.reset(); mockDataSource.reset(); mockConnection.reset(); mockInvocation.reset(); super.tearDown(); ...
protected void tearDown() throws Exception { session = null; mockStateful.reset(); mockStateless.reset(); mockSession.reset(); mockFactory.reset(); mockTransaction.reset(); mockDataSource.reset(); mockConnection.reset(); mockInvocation.reset(); super.tearDown(); ...
3,232,366
public static void initModuleClass(RubyClass moduleClass) { moduleClass.defineMethod("===", getMethod("op_eqq", RubyObject.class, false)); moduleClass.defineMethod("<=>", getMethod("op_cmp", RubyObject.class, false)); moduleClass.defineMethod("<", getMethod("op_lt", RubyObject.class, false)); ...
public static void initModuleClass(RubyClass moduleClass) { moduleClass.defineMethod("===", getMethod("op_eqq", RubyObject.class, false)); moduleClass.defineMethod("<=>", getMethod("op_cmp", RubyObject.class, false)); moduleClass.defineMethod("<", getMethod("op_lt", RubyObject.class, false)); ...
3,232,367
AnnotatedButton(ImageNode node) { if (node == null) throw new IllegalArgumentException("No node"); parentNode = node; setBorder(BorderFactory.createEmptyBorder()); //No border around icon. setMargin(new Insets(0, 0, 0, 0));//Just to make sure button sz=icon sz. setOpaque(false); ...
AnnotatedButton(ImageNode node) { if (node == null) throw new IllegalArgumentException("No node"); parentNode = node; setBorder(BorderFactory.createEmptyBorder()); //No border around icon. setMargin(new Insets(0, 0, 0, 0));//Just to make sure button sz=icon sz. setOpaque(false); ...
3,232,368
AnnotatedButton(ImageNode node) { if (node == null) throw new IllegalArgumentException("No node"); parentNode = node; setBorder(BorderFactory.createEmptyBorder()); //No border around icon. setMargin(new Insets(0, 0, 0, 0));//Just to make sure button sz=icon sz. setOpaque(false); ...
AnnotatedButton(ImageNode node) { if (node == null) throw new IllegalArgumentException("No node"); parentNode = node; setBorder(BorderFactory.createEmptyBorder()); //No border around icon. setMargin(new Insets(0, 0, 0, 0));//Just to make sure button sz=icon sz. setOpaque(false); ...
3,232,369
private static RubyThread startThread(final IRubyObject recv, final IRubyObject[] args, boolean callInit) { final Ruby runtime = recv.getRuntime(); if (! runtime.isBlockGiven()) { throw new ThreadError(runtime, "must be called with a block"); } final RubyThread result = new Ru...
private static RubyThread startThread(final IRubyObject recv, final IRubyObject[] args, boolean callInit) { final Ruby runtime = recv.getRuntime(); if (! runtime.isBlockGiven()) { throw new ThreadError(runtime, "must be called with a block"); } final RubyThread result = new Ru...
3,232,370
public static IRubyObject sleep(IRubyObject recv, RubyNumeric seconds) { try { Thread.sleep((long) (seconds.getDoubleValue() * 1000.0)); } catch (InterruptedException iExcptn) { } return recv; }
public static IRubyObject sleep(IRubyObject recv, RubyNumeric seconds) { try { Thread.sleep(milliseconds); } catch (InterruptedException iExcptn) { } return recv; }
3,232,373
public static IRubyObject sleep(IRubyObject recv, RubyNumeric seconds) { try { Thread.sleep((long) (seconds.getDoubleValue() * 1000.0)); } catch (InterruptedException iExcptn) { } return recv; }
public static IRubyObject sleep(IRubyObject recv, RubyNumeric seconds) { try { Thread.sleep((long) (seconds.getDoubleValue() * 1000.0)); } catch (InterruptedException iExcptn) { } return RubyFixnum.newFixnum(recv.getRuntime(), Math.round(((double)(System.currentTimeMillis() - ...
3,232,374
public static Object convertArgument(Object argument, Class parameterType) { if (argument instanceof JavaObject) { JavaObject javaArgument = (JavaObject) argument; if (javaArgument.isJavaNull()) { return null; } argument = javaArgument.getValue(); ...
public static Object convertArgument(Object argument, Class parameterType) { if (argument instanceof JavaObject) { JavaObject javaArgument = (JavaObject) argument; if (javaArgument.isJavaNull()) { return null; } argument = javaArgument.getValue(); ...
3,232,375
public static Object convertArgument(Object argument, Class parameterType) { if (argument instanceof JavaObject) { JavaObject javaArgument = (JavaObject) argument; if (javaArgument.isJavaNull()) { return null; } argument = javaArgument.getValue(); ...
public static Object convertArgument(Object argument, Class parameterType) { if (argument instanceof JavaObject) { JavaObject javaArgument = (JavaObject) argument; if (javaArgument.isJavaNull()) { return null; } } Class type = primitive...
3,232,376
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
3,232,377
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
3,232,378
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
3,232,379
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
3,232,380
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
3,232,381
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } }
3,232,382
private void addInstrumentationToArchive(ZipInputStream archive, ZipOutputStream output) throws Exception { ZipEntry entry; while ((entry = archive.getNextEntry()) != null) { try { ZipEntry outputEntry = new ZipEntry(entry.getName()); output.putNextEntry(outputEntry); // Read current entry byte[] ...
private void addInstrumentationToArchive(ZipInputStream archive, ZipOutputStream output) throws Exception { ZipEntry entry; while ((entry = archive.getNextEntry()) != null) { try { ZipEntry outputEntry = new ZipEntry(entry.getName()); output.putNextEntry(outputEntry); // Read current entry byte[] ...
3,232,383
private static boolean isClass(File file) { return file.getName().endsWith(".class"); }
private static boolean isClass(File file) { return file.getName().endsWith(".class"); }
3,232,384
private static boolean isClass(File file) { return file.getName().endsWith(".class"); }
private static boolean isClass(File file) { return file.getName().endsWith(".class"); }
3,232,385
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
3,232,386
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
3,232,387
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
3,232,388
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
3,232,389
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
3,232,390
public LogFile(String file, String format, Properties levels, boolean trace) throws IOException { this(((file != null) ? new PrintStream(new FileOutputStream(file,true)) : System.err), format, levels, trace); }
public LogFile(String file, String format, String defaultLevel, Properties levels, boolean trace) throws IOException { this(((file != null) ? new PrintStream(new FileOutputStream(file,true)) : System.err), format, levels, trace); }
3,232,391
public LogFile(String file, String format, Properties levels, boolean trace) throws IOException { this(((file != null) ? new PrintStream(new FileOutputStream(file,true)) : System.err), format, levels, trace); }
public LogFile(String file, String format, Properties levels, boolean trace) throws IOException { this(file, ((file != null) ? new PrintStream(new FileOutputStream(file,true)) : System.err), format, levels, trace); }
3,232,392
public LogFile(String file, String format, Properties levels, boolean trace) throws IOException { this(((file != null) ? new PrintStream(new FileOutputStream(file,true)) : System.err), format, levels, trace); }
public LogFile(String file, String format, Properties levels, boolean trace) throws IOException { this(((file != null) ? new PrintStream(new FileOutputStream(file,true)) : System.err), format, defaultLevel, levels, trace); }
3,232,393
public void attach(LogSource l) { String name = l.getName(); String level = _levels.getProperty(name); if (level == null) { level = (String) _levels.getProperty("*"); } l.addTarget(this, level); }
public void attach(LogSource l) { String name = l.getName(); String level = _levels.getProperty(name); if (level == null) { level = _defaultLevel; } l.addTarget(this, level); }
3,232,394
public List childNodes() { return Collections.EMPTY_LIST; }
public List childNodes() { return EMPTY_LIST; }
3,232,395
private void processArgument() { String argument = arguments[argumentIndex]; FOR : for (characterIndex = 1; characterIndex < argument.length(); characterIndex++) { switch (argument.charAt(characterIndex)) { case 'h' : main.printUsage(); s...
private void processArgument() { String argument = arguments[argumentIndex]; FOR : for (characterIndex = 1; characterIndex < argument.length(); characterIndex++) { switch (argument.charAt(characterIndex)) { case 'h' : main.printUsage(); s...
3,232,396
public ZoomBar(ToolBar tbContainer, Registry registry, ImageInspectorManager mng, double magFactor) { this.registry = registry; this.tbContainer = tbContainer; initTxtWidth(); initZoomComponents(magFactor); manager = new ZoomBarManager(this, mng, magFactor); manager.attachListeners(); buildT...
public ZoomBar(Registry registry, ImageInspectorManager mng, double magFactor) { this.registry = registry; this.tbContainer = tbContainer; initTxtWidth(); initZoomComponents(magFactor); manager = new ZoomBarManager(this, mng, magFactor); manager.attachListeners(); buildToolBar(); }
3,232,398
public ZoomBar(ToolBar tbContainer, Registry registry, ImageInspectorManager mng, double magFactor) { this.registry = registry; this.tbContainer = tbContainer; initTxtWidth(); initZoomComponents(magFactor); manager = new ZoomBarManager(this, mng, magFactor); manager.attachListeners(); buildT...
public ZoomBar(ToolBar tbContainer, Registry registry, ImageInspectorManager mng, double magFactor) { this.registry = registry; this.tbContainer = tbContainer; initTxtWidth(); initZoomComponents(magFactor); manager = new ZoomBarManager(this, mng, magFactor); manager.attachListeners(); buildT...
3,232,399
private JPanel buildTextPanel() { JPanel p = new JPanel(); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); p.setLayout(gridbag); c.gridx = 0; c.gridy = 0; c.anchor = GridBagConstraints.EAST; c.ipadx = txtWidth/2; gridbag.setConstraints(zoomField, c); p.add(zoomFi...
private JPanel buildTextPanel() { JPanel p = new JPanel(); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); p.setLayout(gridbag); c.gridx = 0; c.gridy = 0; c.anchor = GridBagConstraints.EAST; c.ipadx = txtWidth/2; gridbag.setConstraints(zoomField, c); p.add(zoomFi...
3,232,400
private void buildToolBar() { setFloatable(false); putClientProperty("JToolBar.isRollover", Boolean.TRUE); add(zoomOut); add(zoomIn); add(zoomFit); add(buildTextPanel()); }
private void buildToolBar() { setFloatable(false); putClientProperty("JToolBar.isRollover", Boolean.TRUE); add(zoomOut); add(zoomIn); add(zoomFit); add(buildTextPanel()); }
3,232,401
private void initTxtWidth() { FontMetrics metrics = getFontMetrics(getFont()); txtWidth = MAX_LETTER.length()*metrics.charWidth('m'); }
private void initTxtWidth() { FontMetrics metrics = getFontMetrics(getFont()); txtWidth = MAX_LETTER.length()*metrics.charWidth('m'); }
3,232,402
private void initZoomComponents(double magFactor) { //buttons String s = ""+(int)(magFactor*100)+"%"; IconManager im = IconManager.getInstance(registry); Icon zoomInIcon = im.getIcon(IconManager.ZOOMIN); zoomIn = new JButton(zoomInIcon); zoomIn.setToolTipText( UIUtilities.formatToolTipText("Zoom in.")); ...
private void initZoomComponents(double magFactor) { //buttons String s = ""+(int)(magFactor*100)+"%"; IconManager im = IconManager.getInstance(registry); Icon zoomInIcon = im.getIcon(IconManager.ZOOMIN); zoomIn = new JButton(zoomInIcon); zoomIn.setToolTipText( UIUtilities.formatToolTipText("Zoom in.")); ...
3,232,403
private void initZoomComponents(double magFactor) { //buttons String s = ""+(int)(magFactor*100)+"%"; IconManager im = IconManager.getInstance(registry); Icon zoomInIcon = im.getIcon(IconManager.ZOOMIN); zoomIn = new JButton(zoomInIcon); zoomIn.setToolTipText( UIUtilities.formatToolTipText("Zoom in.")); ...
private void initZoomComponents(double magFactor) { //buttons String s = ""+(int)(magFactor*100)+"%"; IconManager im = IconManager.getInstance(registry); Icon zoomInIcon = im.getIcon(IconManager.ZOOMIN); zoomIn = new JButton(zoomInIcon); zoomIn.setToolTipText( UIUtilities.formatToolTipText("Zoom in.")); ...
3,232,404
public RubyException exception(IRubyObject[] args) { switch (args.length) { case 0 : return this; case 1 : return args[0] == this ? this : newInstance(getMetaClass(), args); default : throw getRuntime().newArgumentError("Wrong arg...
public RubyException exception(IRubyObject[] args) { switch (args.length) { case 0 : return this; case 1 : if(args[0] == this) { return this; } RubyException ret = (RubyException)rbClone(); ret.initialize(args); return ret; default : ...
3,232,405
public RGBBuffer(int sizeX1, int sizeX2) { this.sizeX1 = sizeX1; this.sizeX2 = sizeX2; bands = new byte[3][]; for (int i = 0; i < 3; ++i) bands[i] = new byte[sizeX1*sizeX2]; }
public RGBBuffer(int sizeX1, int sizeX2) { this.sizeX1 = sizeX1; this.sizeX2 = sizeX2; bands = new byte[3][]; for (int i = 0; i < 3; ++i) bands[i] = new byte[sizeX1*sizeX2]; }
3,232,406
public Integer getAnnotationCount() { if (annotationCount == null) annotationCount = getCount(Dataset.ANNOTATIONS); return annotationCount; }
public Long getAnnotationCount() { if (annotationCount == null) annotationCount = getCount(Dataset.ANNOTATIONS); return annotationCount; }
3,232,407
public void setAnnotations(Set newValue) { Set currentValue = getAnnotations(); SetMutator m = new SetMutator(currentValue, newValue); while (m.moreDeletions()) { setDirty(true); asDataset().removeDatasetAnnotation( m.nextDeletion().asDa...
public void setAnnotations(Set newValue) { Set currentValue = getAnnotations(); SetMutator m = new SetMutator(currentValue, newValue); while (m.moreDeletions()) { setDirty(true); asDataset().removeDatasetAnnotation( m.nextDeletion().asDa...
3,232,408
public void setAnnotations(Set newValue) { Set currentValue = getAnnotations(); SetMutator m = new SetMutator(currentValue, newValue); while (m.moreDeletions()) { setDirty(true); asDataset().removeDatasetAnnotation( m.nextDeletion().asDa...
public void setAnnotations(Set newValue) { Set currentValue = getAnnotations(); SetMutator m = new SetMutator(currentValue, newValue); while (m.moreDeletions()) { setDirty(true); asDataset().removeDatasetAnnotation( m.nextDeletion().asDa...
3,232,409
public static RubyArray create(IRubyObject recv, IRubyObject[] args) { RubyArray array = newArray(recv.getRuntime(), args); array.setRubyClass((RubyClass) recv); return array; }
public static RubyArray create(IRubyObject recv, IRubyObject[] args) { RubyArray array = newArray(recv.getRuntime(), args); array.setInternalClass((RubyClass) recv); return array; }
3,232,410
public static RubyArray newInstance(IRubyObject recv, IRubyObject[] args) { RubyArray array = newArray(recv.getRuntime()); array.setRubyClass((RubyClass) recv); array.callInit(args); return array; }
public static RubyArray newInstance(IRubyObject recv, IRubyObject[] args) { RubyArray array = newArray(recv.getRuntime()); array.setInternalClass((RubyClass) recv); array.callInit(args); return array; }
3,232,411
public static RubyArray unmarshalFrom(UnmarshalStream input) throws java.io.IOException { RubyArray result = newArray(input.getRuby()); int size = input.unmarshalInt(); for (int i = 0; i < size; i++) { result.append(input.unmarshalObject()); } return result; }
public static RubyArray unmarshalFrom(UnmarshalStream input) throws java.io.IOException { RubyArray result = newArray(input.getRuntime()); int size = input.unmarshalInt(); for (int i = 0; i < size; i++) { result.append(input.unmarshalObject()); } return result; }
3,232,412
protected Node(int type) { this(type, null, null, null); }
protected Node(int type) { this(type, null, null, null); }
3,232,413
public void accept(NodeVisitor iVisitor) { }
public void accept(NodeVisitor iVisitor) { }
3,232,414
public void accept(NodeVisitor iVisitor) { }
public void accept(NodeVisitor iVisitor) { }
3,232,415
public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; }
public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; }
3,232,416
public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; }
public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; }
3,232,417
public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; }
public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; }
3,232,418
public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; }
public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; }
3,232,419
public RubyObject eval(Ruby ruby, RubyObject self) { ruby.getRuntime().getErrorStream().println(file+":"+line+" Unsupported feature, node class is" + this.getClass()); throw new UnsupportedOperationException(); }
public RubyObject eval(Ruby ruby, RubyObject self) { ruby.getRuntime().getErrorStream().println(file+":"+line+" Unsupported feature, node class is" + this.getClass()); throw new UnsupportedOperationException(); }
3,232,420
public String getAId() { return (String)u3; }
public String getAId() { return (String)u3; }
3,232,421
public int getALength() { return u2 == null ? 0 : ((Integer)u2).intValue(); }
public int getALength() { return u2 == null ? 0 : ((Integer)u2).intValue(); }
3,232,422
public int getArgsCount() { return u2 == null ? 0 : ((Integer)u2).intValue(); }
public int getArgsCount() { return u2 == null ? 0 : ((Integer)u2).intValue(); }
3,232,423
public Node getArgsNode() { return (Node)u3; }
public Node getArgsNode() { return (Node)u3; }
3,232,424
public Node getBeginNode() { return (Node)u1; }
public Node getBeginNode() { return (Node)u1; }
3,232,425
public Node getBodyNode() { return (Node)u2; }
public Node getBodyNode() { return (Node)u2; }
3,232,426
public int getCFlag() { return u2 == null ? 0 : ((Integer)u2).intValue(); }
public int getCFlag() { return u2 == null ? 0 : ((Integer)u2).intValue(); }
3,232,427
public RubyObject getCValue() { return (RubyObject)u3; }
public RubyObject getCValue() { return (RubyObject)u3; }
3,232,428
public Callback getCallbackMethod() { return (Callback)u1; }
public Callback getCallbackMethod() { return (Callback)u1; }
3,232,429
public String getClassNameId() { return (String)u1; }
public String getClassNameId() { return (String)u1; }
3,232,430
public RubyObject getClassValue() { return (RubyObject)u1; }
public RubyObject getClassValue() { return (RubyObject)u1; }
3,232,431
public Node getConditionNode() { return (Node)u1; }
public Node getConditionNode() { return (Node)u1; }
3,232,432
public int getCount() { return u3 == null ? 0 : ((Integer)u3).intValue(); }
public int getCount() { return u3 == null ? 0 : ((Integer)u3).intValue(); }
3,232,433
public Node getDefnNode() { return (Node)u3; }
public Node getDefnNode() { return (Node)u3; }
3,232,434
public Node getElseNode() { return (Node)u3; }
public Node getElseNode() { return (Node)u3; }
3,232,435
public Node getEndNode() { return (Node)u2; }
public Node getEndNode() { return (Node)u2; }
3,232,436
public Node getEnsureNode() { return (Node)u3; }
public Node getEnsureNode() { return (Node)u3; }
3,232,437
public RubyGlobalEntry getEntry() { return (RubyGlobalEntry)u3; }
public RubyGlobalEntry getEntry() { return (RubyGlobalEntry)u3; }
3,232,438
public String getFile() { return file; }
public String getFile() { return file; }
3,232,439
public Node getFirstNode() { return (Node)u1; }
public Node getFirstNode() { return (Node)u1; }
3,232,440
public Node getFrmlNode() { return (Node)u1; }
public Node getFrmlNode() { return (Node)u1; }
3,232,441
public Node getHeadNode() { return (Node)u1; }
public Node getHeadNode() { return (Node)u1; }
3,232,442
public Node getIBodyNode() { return (Node)u2; }
public Node getIBodyNode() { return (Node)u2; }
3,232,443
public Node getIterNode() { return (Node)u3; }
public Node getIterNode() { return (Node)u3; }
3,232,444
public int getLine() { return line; }
public int getLine() { return line; }
3,232,445
public RubyObject getLiteral() { return (RubyObject)u1; }
public RubyObject getLiteral() { return (RubyObject)u1; }
3,232,446
public String getMId() { return (String)u2; }
public String getMId() { return (String)u2; }
3,232,447
public String getModlId() { return (String)u1; }
public String getModlId() { return (String)u1; }
3,232,448