bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public IRubyObject puts(IRubyObject[] args) { checkArgumentCount(args, 0, -1); if (args.length == 0) { callMethod("write", getRuntime().newString("\n")); return getRuntime().getNil(); } for (int i = 0; i < args.length; i++) { String line = null; ...
public IRubyObject puts(IRubyObject[] args) { checkArgumentCount(args, 0, -1); if (args.length == 0) { callMethod("write", getRuntime().newString("\n")); return getRuntime().getNil(); } for (int i = 0; i < args.length; i++) { String line = null; ...
3,236,148
public void visitColon2Node(Colon2Node iVisited) { // Java package support hack Colon2Node node = iVisited; ArrayList packageList = new ArrayList(10); while (node.getLeftNode() instanceof Colon2Node) { node = (Colon2Node)node.getLeftNode(); packageList.add(node.getN...
public void visitColon2Node(Colon2Node iVisited) { // Java package support hack Colon2Node node = iVisited; ArrayList packageList = new ArrayList(10); while (node.getLeftNode() instanceof Colon2Node) { node = (Colon2Node)node.getLeftNode(); packageList.add(node.getN...
3,236,149
public ImageAnnotation(Integer attributeId, Integer theT, String content, Integer theC, Integer theZ, Boolean valid, org.openmicroscopy.omero.model.Image image, org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.attributeId = attributeId; this.theT = theT; this.content = con...
public ImageAnnotation(Integer attributeId, Integer theT, String content, Integer theC, Integer theZ, Boolean valid, org.openmicroscopy.omero.model.Image image, org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.attributeId = attributeId; this.theT = theT; this.content = con...
3,236,150
public org.openmicroscopy.omero.model.Image getImage() { return this.image; }
public Image getImage() { return this.image; }
3,236,151
public org.openmicroscopy.omero.model.ModuleExecution getModuleExecution() { return this.moduleExecution; }
public ModuleExecution getModuleExecution() { return this.moduleExecution; }
3,236,152
public void setImage(org.openmicroscopy.omero.model.Image image) { this.image = image; }
public void setImage(Image image) { this.image = image; }
3,236,153
public void setModuleExecution(org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.moduleExecution = moduleExecution; }
public void setModuleExecution(ModuleExecution moduleExecution) { this.moduleExecution = moduleExecution; }
3,236,154
protected void onSetUp() throws Exception { _q = (IQuery) applicationContext.getBean("updateService"); po = new PojoOptions().exp(1); ids = new HashSet<Integer>(Arrays.asList(new Integer[]{1,2,3,4,5,6,250,253,249,258})); m = new HashMap(); m.put("id_list",ids); m.put("exp",po.getExperi...
protected void onSetUp() throws Exception { _q = (IQuery) applicationContext.getBean("updateService"); po = new PojoOptions().exp(1L); ids = new HashSet<Integer>(Arrays.asList(new Integer[]{1,2,3,4,5,6,250,253,249,258})); m = new HashMap(); m.put("id_list",ids); m.put("exp",po.getExper...
3,236,155
public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2D = (Graphics2D) g; setLocation(); //Set bounds of the drawing area. control.setImageArea(x+ViewerUIF.START, y+ViewerUIF.START, (int)(image.getWidth()*itMng.getMagFactor()), ...
public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2D = (Graphics2D) g; setLocation(); //Set bounds of the drawing area. control.setImageArea(x+ViewerUIF.START, y+ViewerUIF.START, (int)(image.getWidth()*itMng.getMagFactor()), ...
3,236,156
void paintLensImage(double f, Point p, int lensWidth, boolean painting, Color c, BufferedImage mainImage) { xLens = p.x-lensWidth/2; yLens = p.y-lensWidth/2; int w = (int) (lensWidth/(2*f)); xTopCorner = p.x-ViewerUIF.START-w; yTopCorner = p.y-Vi...
void paintLensImage(double f, Point p, int lensWidth, boolean painting, Color c, BufferedImage mainImage) { xLens = p.x-lensWidth/2; yLens = p.y-lensWidth/2; int w = (int) (lensWidth/(2*f)); xTopCorner = p.x-ViewerUIF.START-w; yTopCorner = p.y-Vi...
3,236,157
private boolean hasNewLocalVariables(IRubyParserResult result) { int newSize = 0; if (result.getLocalVariables() != null) { newSize = result.getLocalVariables().size(); } int oldSize = 0; if (ruby.getScope().getLocalNames() != null) { oldSize = ruby.getScope(...
private boolean hasNewLocalVariables(IRubyParserResult result) { int newSize = 0; if (result.getLocalVariables() != null) { newSize = result.getLocalVariables().size(); } int oldSize = 0; if (ruby.getScope().getLocalNames() != null) { oldSize = ruby.getScope(...
3,236,158
private void showHistory(final String jid) { SwingWorker transcriptLoader = new SwingWorker() { public Object construct() { String bareJID = StringUtils.parseBareAddress(jid); return ChatTranscripts.getChatTranscript(bareJID); } public void finis...
private void showHistory(final String jid) { SwingWorker transcriptLoader = new SwingWorker() { public Object construct() { String bareJID = StringUtils.parseBareAddress(jid); return ChatTranscripts.getChatTranscript(bareJID); } public void finis...
3,236,159
private void showHistory(final String jid) { SwingWorker transcriptLoader = new SwingWorker() { public Object construct() { String bareJID = StringUtils.parseBareAddress(jid); return ChatTranscripts.getChatTranscript(bareJID); } public void finis...
private void showHistory(final String jid) { SwingWorker transcriptLoader = new SwingWorker() { public Object construct() { String bareJID = StringUtils.parseBareAddress(jid); return ChatTranscripts.getChatTranscript(bareJID); } public void finis...
3,236,160
private void showHistory(final String jid) { SwingWorker transcriptLoader = new SwingWorker() { public Object construct() { String bareJID = StringUtils.parseBareAddress(jid); return ChatTranscripts.getChatTranscript(bareJID); } public void finis...
private void showHistory(final String jid) { SwingWorker transcriptLoader = new SwingWorker() { public Object construct() { String bareJID = StringUtils.parseBareAddress(jid); return ChatTranscripts.getChatTranscript(bareJID); } public void finis...
3,236,161
public void finished() { final JPanel mainPanel = new BackgroundPanel(); mainPanel.setLayout(new BorderLayout()); final VCardPanel topPanel = new VCardPanel(jid); mainPanel.add(topPanel, BorderLayout.NORTH); final TranscriptWindow wi...
public void finished() { final JPanel mainPanel = new BackgroundPanel(); mainPanel.setLayout(new BorderLayout()); final VCardPanel topPanel = new VCardPanel(jid); mainPanel.add(topPanel, BorderLayout.NORTH); final JTextArea window = ...
3,236,163
public void finished() { final JPanel mainPanel = new BackgroundPanel(); mainPanel.setLayout(new BorderLayout()); final VCardPanel topPanel = new VCardPanel(jid); mainPanel.add(topPanel, BorderLayout.NORTH); final TranscriptWindow wi...
public void finished() { final JPanel mainPanel = new BackgroundPanel(); mainPanel.setLayout(new BorderLayout()); final VCardPanel topPanel = new VCardPanel(jid); mainPanel.add(topPanel, BorderLayout.NORTH); final TranscriptWindow wi...
3,236,164
public void finished() { final JPanel mainPanel = new BackgroundPanel(); mainPanel.setLayout(new BorderLayout()); final VCardPanel topPanel = new VCardPanel(jid); mainPanel.add(topPanel, BorderLayout.NORTH); final TranscriptWindow wi...
public void finished() { final JPanel mainPanel = new BackgroundPanel(); mainPanel.setLayout(new BorderLayout()); final VCardPanel topPanel = new VCardPanel(jid); mainPanel.add(topPanel, BorderLayout.NORTH); final TranscriptWindow wi...
3,236,165
public RubyBoolean op_eqq(RubyObject obj) { RubyObject beg = getInstanceVar("begin"); RubyObject end = getInstanceVar("end"); boolean excl = getInstanceVar("excl").isTrue(); if ((beg instanceof RubyFixnum) && (obj instanceof RubyFixnum) && (end instanceof RubyFixnum)) { long b...
public RubyBoolean op_eqq(RubyObject obj) { RubyObject beg = getInstanceVar("begin"); RubyObject end = getInstanceVar("end"); boolean excl = getInstanceVar("excl").isTrue(); if ((beg instanceof RubyFixnum) && (obj instanceof RubyFixnum) && (end instanceof RubyFixnum)) { long b...
3,236,167
public RubyBoolean op_eqq(RubyObject obj) { RubyObject beg = getInstanceVar("begin"); RubyObject end = getInstanceVar("end"); boolean excl = getInstanceVar("excl").isTrue(); if ((beg instanceof RubyFixnum) && (obj instanceof RubyFixnum) && (end instanceof RubyFixnum)) { long b...
public RubyBoolean op_eqq(RubyObject obj) { RubyObject beg = getInstanceVar("begin"); RubyObject end = getInstanceVar("end"); boolean excl = getInstanceVar("excl").isTrue(); if ((beg instanceof RubyFixnum) && (obj instanceof RubyFixnum) && (end instanceof RubyFixnum)) { long b...
3,236,168
public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); new DisplayedDocument(shell); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); new DisplayedDocument(shell); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
3,236,169
public Ruby() { initOperatorTable(); // originalMethods = new RubyOriginalMethods(this); globalMap = new RubyHashMap(); classMap = new RubyHashMap(); nilObject = new RubyNil(this); trueObject = new RubyBoolean(this, true); falseObject = new RubyBoolea...
originalMethods = new RubyOriginalMethods(this); originalMethods = new RubyOriginalMethods(this); originalMethods = new RubyOriginalMethods(this); originalMethods = new RubyOriginalMethods(this); publicoriginalMethods = new RubyOriginalMethods(this); Ruby()originalMethods = new RubyOriginalMethods(this); {originalMetho...
3,236,170
public static RubyObject m_raise(Ruby ruby, RubyObject recv, RubyObject args[]) { int argsLength = args != null? args.length : 0; switch (argsLength) { case 0: case 1: throw new RaiseException(RubyException.s_new(ruby, ruby.getExceptions().getRuntimeError(), args)); case 2: R...
public static RubyObject m_raise(Ruby ruby, RubyObject recv, RubyObject args[]) { int argsLength = args != null? args.length : 0; switch (argsLength) { case 0: case 1: throw new RaiseException(RubyException.s_new(ruby, ruby.getExceptions().getRuntimeError(), args)); case 2: R...
3,236,171
public static RubyObject m_require(Ruby ruby, RubyObject recv, RubyString arg1) { if (arg1.getValue().endsWith(".jar")) { File jarFile = new File(arg1.getValue()); if (!jarFile.exists()) { jarFile = new File(new File(ruby.getSourceFile()).getParentFile(), arg1.getValue())...
public static RubyObject m_require(Ruby ruby, RubyObject recv, RubyString arg1) { if (arg1.getValue().endsWith(".jar")) { File jarFile = new File(arg1.getValue()); if (!jarFile.exists()) { jarFile = new File(new File(ruby.getSourceFile()).getParentFile(), arg1.getValue())...
3,236,172
protected void check() throws Exception { FileUtils.contentsEqual(target, test, true); }
protected void check() throws Exception { FileUtils.contentsEqual(target, test, true); }
3,236,173
protected void reloadDetails(IObject m) { IObject obj = (IObject) ht.load(m.getClass(),m.getId()); Details template = obj.getDetails(); copyAllowedDetails(template, m.getDetails()); m.setDetails(template); /* TODO what else should be preserved? * should be a...
protected void reloadDetails(IObject m) { IObject obj = (IObject) ht.load( Utils.trueClass( m.getClass() ),m.getId()); Details template = obj.getDetails(); copyAllowedDetails(template, m.getDetails()); m.setDetails(template); /* TODO what else should be preserved? ...
3,236,174
private void onClick(MouseEvent me, boolean released) { Point p = me.getPoint(); JTree tree = getSelectedTree(); int row = tree.getRowForLocation(p.x, p.y); if (row != -1) { if (me.getClickCount() == 1) { int[] rows = tree.getSelectionRows(); ...
private void onClick(MouseEvent me, boolean released) { Point p = me.getPoint(); JTree tree = getSelectedTree(); int row = tree.getRowForLocation(p.x, p.y); if (row != -1) { if (me.getClickCount() == 1) { int[] rows = tree.getSelectionRows(); ...
3,236,176
public IRubyObject fcntl(IRubyObject cmd, IRubyObject arg) throws IOException { long realCmd = cmd.convertToInteger().getLongValue(); // Fixme: Arg may also be true, false, and nil and still be valid. Strangely enough, // protocol conversion is not happening in Ruby on this arg? ...
public IRubyObject fcntl(IRubyObject cmd, IRubyObject arg) throws IOException { long realCmd = cmd.convertToInteger().getLongValue(); // Fixme: Arg may also be true, false, and nil and still be valid. Strangely enough, // protocol conversion is not happening in Ruby on this arg? ...
3,236,178
public IRubyObject reopen(IRubyObject[] args) { if (args.length < 1) { throw getRuntime().newArgumentError("wrong number of arguments"); } if (args[0].isKindOf(getRuntime().getClass("IO"))) { RubyIO ios = (RubyIO) args[0]; int keepFileno = handler.getFileno(); ...
public IRubyObject reopen(IRubyObject[] args) { if (args.length < 1) { throw getRuntime().newArgumentError("wrong number of arguments"); } if (args[0].isKindOf(getRuntime().getClass("IO"))) { RubyIO ios = (RubyIO) args[0]; int keepFileno = handler.getFileno(); ...
3,236,179
public IRubyObject reopen(IRubyObject[] args) { if (args.length < 1) { throw getRuntime().newArgumentError("wrong number of arguments"); } if (args[0].isKindOf(getRuntime().getClass("IO"))) { RubyIO ios = (RubyIO) args[0]; int keepFileno = handler.getFileno(); ...
public IRubyObject reopen(IRubyObject[] args) { if (args.length < 1) { throw getRuntime().newArgumentError("wrong number of arguments"); } if (args[0].isKindOf(getRuntime().getClass("IO"))) { RubyIO ios = (RubyIO) args[0]; int keepFileno = handler.getFileno(); ...
3,236,180
public IRubyObject reopen(IRubyObject[] args) { if (args.length < 1) { throw getRuntime().newArgumentError("wrong number of arguments"); } if (args[0].isKindOf(getRuntime().getClass("IO"))) { RubyIO ios = (RubyIO) args[0]; int keepFileno = handler.getFileno(); ...
public IRubyObject reopen(IRubyObject[] args) { if (args.length < 1) { throw getRuntime().newArgumentError("wrong number of arguments"); } if (args[0].isKindOf(getRuntime().getClass("IO"))) { RubyIO ios = (RubyIO) args[0]; int keepFileno = handler.getFileno(); ...
3,236,181
private RubyClass createRubyClass(Class javaClass, String rubyName) { RubyClass superClass = (RubyClass) loadClass(javaClass.getSuperclass(), null); RubyClass rubyClass = ruby.defineClass(rubyName, superClass); defineWrapperMethods(javaClass, rubyClass, true); defineConstants(jav...
loadedJavaClasses.put(javaClass, rubyClass); loadedJavaClasses.put(javaClass, rubyClass); loadedJavaClasses.put(javaClass, rubyClass); loadedJavaClasses.put(javaClass, rubyClass); private loadedJavaClasses.put(javaClass, rubyClass); RubyClass loadedJavaClasses.put(javaClass, rubyClass); createRubyClass(Class ...
3,236,183
private RubyClass createRubyClass(Class javaClass, String rubyName) { RubyClass superClass = (RubyClass) loadClass(javaClass.getSuperclass(), null); RubyClass rubyClass = ruby.defineClass(rubyName, superClass); defineWrapperMethods(javaClass, rubyClass, true); defineConstants(jav...
private RubyClass createRubyClass(Class javaClass, String rubyName) { RubyClass superClass = (RubyClass) loadClass(javaClass.getSuperclass(), null); RubyClass rubyClass = ruby.defineClass(rubyName, superClass); defineWrapperMethods(javaClass, rubyClass, true); defineConstants(jav...
3,236,184
public static String escapeJID(String jid){ if(jid == null){ return null; } final StringBuilder builder = new StringBuilder(); String node = StringUtils.parseName(jid); String restOfJID = jid.substring(node.length()); builder.append(StringUtils.escapeNode(node));...
public static String escapeJID(String jid){ if(jid == null){ return null; } final StringBuilder builder = new StringBuilder(); String node = StringUtils.parseName(jid); String restOfJID = jid.substring(node.length()); builder.append(StringUtils.escapeNode(node));...
3,236,185
public static String unescapeJID(String jid){ if(jid == null){ return null; } final StringBuilder builder = new StringBuilder(); String node = StringUtils.parseName(jid); String restOfJID = jid.substring(node.length()); builder.append(StringUtils.unescapeNode(nod...
public static String unescapeJID(String jid){ if(jid == null){ return null; } final StringBuilder builder = new StringBuilder(); String node = StringUtils.parseName(jid); String restOfJID = jid.substring(node.length()); builder.append(StringUtils.unescapeNode(nod...
3,236,186
int convertGraphicsIntoReal(int x, int rangeReal, int rangeGraphics, int b) { double a = (double) rangeReal/rangeGraphics; return (int) (a*x+b); }
int convertGraphicsIntoReal(int x, int rangeReal, int rangeGraphics, int b) { double a = (double) rangeReal/rangeGraphics; int r = (int) (a*x+b); int c = control.getGlobalMinimum(); int d = control.getGlobalMaximum(); if (r < c) r = c; if (r > d) r = d; return r; }
3,236,187
public IRubyObject newInstance(IRubyObject[] args) { RubyProc instance = RubyProc.newProc(getRuntime(), false); instance.callInit(args); return instance; }
public IRubyObject newInstance(IRubyObject[] args) { IRubyObject instance = allocateObject(); instance.callInit(args); return instance; }
3,236,189
public synchronized void includeModule(IRubyObject arg) { assert arg != null; testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().get...
public synchronized void includeModule(IRubyObject arg) { assert arg != null; testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().get...
3,236,190
BrokerOwner() { this(null,null); }
BrokerOwner() { this(null); }
3,236,191
synchronized Broker init() throws InitException { _brokerUsers++; if (_broker == null) { try { _broker = (_config == null) ? new Broker(_classloader) : new Broker(_config,_classloader); } catch (InitException e) {e.printStackTrace(); _broker = null; _bro...
synchronized Broker init() throws InitException { _brokerUsers++; if (_broker == null) { try { _broker = (_config == null) ? new Broker() : new Broker(_config); } catch (InitException e) {e.printStackTrace(); _broker = null; _brokerUsers = 0; ...
3,236,192
public WM() throws InitException { this(null, null); }
public WM() throws InitException { this(null); }
3,236,193
HiViewerWin() { super(DEFAULT_TITLE); IconManager iconMng = IconManager.getInstance(); statusBar = new StatusBar(iconMng.getIcon(IconManager.STATUS_INFO)); createWindowsMenu(); }
HiViewerWin() { super(DEFAULT_TITLE); IconManager iconMng = IconManager.getInstance(); statusBar = new StatusBar(iconMng.getIcon(IconManager.STATUS_INFO)); }
3,236,194
private JMenuBar createMenuBar() { JMenuBar menuBar = new JMenuBar(); menuBar.add(createFileMenu()); menuBar.add(createEditMenu()); menuBar.add(createViewMenu()); //menuBar.add(windowsMenu); menuBar.add(createHelpMenu()); TaskBar tb = ImViewerAgent.getRegistry()....
privateJMenuBarcreateMenuBar(){JMenuBarmenuBar=newJMenuBar();menuBar.add(createFileMenu());menuBar.add(createEditMenu());menuBar.add(createViewMenu());//menuBar.add(windowsMenu);menuBar.add(createHelpMenu());TaskBartb=ImViewerAgent.getRegistry().getTaskBar();tb.addToMenu(TaskBar.WINDOW_MENU,windowsMenu);returnmenuBar;}
3,236,195
private JMenuBar createMenuBar() { JMenuBar menuBar = new JMenuBar(); menuBar.add(createFileMenu()); menuBar.add(createEditMenu()); menuBar.add(createViewMenu()); //menuBar.add(windowsMenu); menuBar.add(createHelpMenu()); TaskBar tb = ImViewerAgent.getRegistry()....
private JMenuBar createMenuBar() { JMenuBar menuBar = new JMenuBar(); menuBar.add(createFileMenu()); menuBar.add(createEditMenu()); menuBar.add(createViewMenu()); //menuBar.add(windowsMenu); menuBar.add(createHelpMenu()); TaskBar tb = ImViewerAgent.getRegistry()....
3,236,196
void viewDataObject() { TreeImageDisplay d = getLastSelectedDisplay(); if (d == null) return; Object o = d.getUserObject(); if (o instanceof ImageData) { ViewCmd cmd = new ViewCmd(parent, (ImageData) o); cmd.execute(); } }
void viewDataObject() { TreeImageDisplay d = getLastSelectedDisplay(); if (d == null) return; Object o = d.getUserObject(); if (o instanceof ImageData) { ViewCmd cmd = new ViewCmd(parent, (ImageData) o); cmd.execute(); } }
3,236,197
public DataObject createAnnotationFor(DataObject annotatedObject, AnnotationData data) throws DSOutOfServiceException, DSAccessException { if (data == null) throw new IllegalArgumentException("No annotation to create."); if (annotatedObj...
public DataObject createAnnotationFor(DataObject annotatedObject, AnnotationData data) throws DSOutOfServiceException, DSAccessException { if (data == null) throw new IllegalArgumentException("No annotation to create."); if (annotatedObj...
3,236,198
public DataObject removeAnnotationFrom(DataObject annotatedObject, AnnotationData data) throws DSOutOfServiceException, DSAccessException { if (data == null) throw new IllegalArgumentException("No annotation to delete."); if (annota...
public DataObject removeAnnotationFrom(DataObject annotatedObject, AnnotationData data) throws DSOutOfServiceException, DSAccessException { if (data == null) throw new IllegalArgumentException("No annotation to delete."); if (annota...
3,236,200
public Set removeDataObjects(Set children, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (children == null) throw new IllegalArgumentException("The children cannot be null."); if (children.size() == 0) throw new IllegalArgumentException...
public Set removeDataObjects(Set children, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (children == null) throw new IllegalArgumentException("The children cannot be null."); if (children.size() == 0) throw new IllegalArgumentException...
3,236,201
public Set removeDataObjects(Set children, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (children == null) throw new IllegalArgumentException("The children cannot be null."); if (children.size() == 0) throw new IllegalArgumentException...
publicSetremoveDataObjects(Setchildren,DataObjectparent)throwsDSOutOfServiceException,DSAccessException{if(children==null)thrownewIllegalArgumentException("Thechildrencannotbenull.");if(children.size()==0)thrownewIllegalArgumentException("Nochildrentoremove.");Iteratori=children.iterator();if(parent==null){intindex=0;I...
3,236,202
public DataObject updateAnnotationFor(DataObject annotatedObject, AnnotationData data) throws DSOutOfServiceException, DSAccessException { if (data == null) throw new IllegalArgumentException("No annotation to update."); if (annotatedO...
public DataObject updateAnnotationFor(DataObject annotatedObject, AnnotationData data) throws DSOutOfServiceException, DSAccessException { if (data == null) throw new IllegalArgumentException("No annotation to update."); if (annotatedO...
3,236,203
public DataObject updateDataObject(DataObject object) throws DSOutOfServiceException, DSAccessException { if (object == null) throw new DSAccessException("No object to update."); IObject ob = object.asIObject(); ModelMapper.unloadCollections(ob); IObject updat...
public DataObject updateDataObject(DataObject object) throws DSOutOfServiceException, DSAccessException { if (object == null) throw new DSAccessException("No object to update."); IObject ob = object.asIObject(); ModelMapper.unloadCollections(ob); IObject updat...
3,236,204
public static RubyModule createObjectSpaceModule(Ruby ruby) { Callback each_object = new ReflectionCallbackMethod(RubyObjectSpace.class, "each_object", true, true); RubyModule objectSpaceModule = ruby.defineModule("ObjectSpace"); objectSpaceModule.defineModuleFunction("each_object", each_object...
public static RubyModule createObjectSpaceModule(Ruby ruby) { Callback each_object = CallbackFactory.getOptSingletonMethod(RubyObjectSpace.class, "each_object"); RubyModule objectSpaceModule = ruby.defineModule("ObjectSpace"); objectSpaceModule.defineModuleFunction("each_object", each_object); ...
3,236,205
public Object getContents() { long start = System.currentTimeMillis(); ChainDataManager chainDataManager = (ChainDataManager) dataManager; if (chains == null) { chains = chainDataManager.getChains(); } Iterator iter = chains.iterator(); while (iter.hasNext()) { LayoutChainData chain = (LayoutChainData) i...
public Object getContents() { long start = System.currentTimeMillis(); ChainDataManager chainDataManager = (ChainDataManager) dataManager; if (chains == null) { chains = chainDataManager.getChains(); } Iterator iter = chains.iterator(); while (iter.hasNext()) { LayoutChainData chain = (LayoutChainData) i...
3,236,206
public Object getContents() { long start = System.currentTimeMillis(); ChainDataManager chainDataManager = (ChainDataManager) dataManager; if (chains == null) { chains = chainDataManager.getChains(); } Iterator iter = chains.iterator(); while (iter.hasNext()) { LayoutChainData chain = (LayoutChainData) i...
public Object getContents() { long start = System.currentTimeMillis(); ChainDataManager chainDataManager = (ChainDataManager) dataManager; if (chains == null) { chains = chainDataManager.getChains(); } Iterator iter = chains.iterator(); while (iter.hasNext()) { LayoutChainData chain = (LayoutChainData) i...
3,236,207
void buildContext() { lowerLimit = intervalStart; upperLimit = intervalEnd; }
void buildContext() { lowerLimit = intervalStart; upperLimit = intervalEnd; }
3,236,208
public List childNodes() { return Collections.EMPTY_LIST; }
public List childNodes() { return EMPTY_LIST; }
3,236,209
public void visitBlockPassNode(BlockPassNode iVisited) { setPosition(iVisited); RubyObject block = eval(iVisited.getBodyNode()); if (block.isNil()) { eval(iVisited.getIterNode()); return; } else if (block.kind_of(ruby.getClasses().getMethodClass()).isTrue()) { ...
public void visitBlockPassNode(BlockPassNode iVisited) { setPosition(iVisited); RubyObject block = eval(iVisited.getBodyNode()); if (block.isNil()) { eval(iVisited.getIterNode()); return; } else if (block instanceof RubyMethod) { block = ((RubyMethod)block).to_proc(...
3,236,210
public boolean load(WebdavExtendedResource webdavResource) throws IOException { XMLParser builder = new XMLParser(); XMLDocument bodyDoc = null; try { WebdavResource theArticle = null; if(webdavResource.isCollection()){ IWContext iwc = IWContext.getInstance(); WebdavResources resources = webdavResourc...
public boolean load(WebdavExtendedResource webdavResource) throws IOException { XMLParser builder = new XMLParser(); XMLDocument bodyDoc = null; try { WebdavResource theArticle = null; if(webdavResource.isCollection()){ IWContext iwc = IWContext.getInstance(); WebdavResources resources = webdavResourc...
3,236,211
protected String getXSDType(JProperty property) { if (xsdTypeMap == null) { xsdTypeMap = new HashMap(); loadXsdTypeMap(xsdTypeMap); } String typeName = property.getType().getQualifiedName(); String answer = (String) xsdTypeMap.get(typeName); if (answer == nul...
protected String getXSDType(JProperty property) { if (xsdTypeMap == null) { xsdTypeMap = new HashMap(); loadXsdTypeMap(xsdTypeMap); } String typeName = property.getType().getQualifiedName(); String answer = (String) xsdTypeMap.get(typeName); if (answer == nul...
3,236,212
public IRubyObject call(Ruby ruby, IRubyObject receiver, String name, IRubyObject[] args, boolean noSuper) { RubyProc optionalBlockArg = null; if (argsNode.getBlockArgNode() != null && ruby.isBlockGiven()) { optionalBlockArg = RubyProc.newProc(ruby); } ruby.getScope().push(); ...
public IRubyObject call(Ruby ruby, IRubyObject receiver, String name, IRubyObject[] args, boolean noSuper) { RubyProc optionalBlockArg = null; if (argsNode.getBlockArgNode() != null && ruby.isBlockGiven()) { optionalBlockArg = RubyProc.newProc(ruby); } ruby.getScope().push(); ...
3,236,213
private void prepareArguments(Ruby ruby, IRubyObject receiver, IRubyObject[] args) { if (args == null) { args = IRubyObject.NULL_ARRAY; } int expectedArgsCount = argsNode.getArgsCount(); if (expectedArgsCount > args.length) { throw new ArgumentError(ruby, "Wrong # o...
private void prepareArguments(Ruby ruby, IRubyObject receiver, IRubyObject[] args) { if (args == null) { args = IRubyObject.NULL_ARRAY; } int expectedArgsCount = argsNode.getArgsCount(); if (expectedArgsCount > args.length) { throw new ArgumentError(ruby, "Wrong # o...
3,236,214
public static Test suite() throws Throwable { TestSuite suite = new TestSuite(); suite.addTest(new TestSuite(TestRubyObject.class)); suite.addTest(new TestSuite(TestRubyNil.class)); suite.addTest(new TestSuite(TestRubyHash.class)); suite.addTest(new TestSuite(TestRuby.class)); ...
suite.addTest(new TestSuite(TestAdoptedThreading.class)); suite.addTest(new TestSuite(TestAdoptedThreading.class)); suite.addTest(new TestSuite(TestAdoptedThreading.class)); suite.addTest(new TestSuite(TestAdoptedThreading.class)); publicsuite.addTest(new TestSuite(TestAdoptedThreading.class)); staticsuite.addTest(new ...
3,236,216
public List childNodes() { return Collections.EMPTY_LIST; }
public List childNodes() { return EMPTY_LIST; }
3,236,217
private void setupLocalProperties() { InputStream is = null; URL u = null; try { u = new URL(_url, WMConstants.WEBMACRO_LOCAL_FILE); _log.debug("Looking for encodings file: "+u); Object obj = propertiesCache.get(u); if (obj != null) ...
private void setupLocalProperties() { InputStream is = null; URL u = null; try { u = new URL(_url, WMConstants.WEBMACRO_LOCAL_FILE); _log.debug("Looking for encodings file: "+u); Object obj = propertiesCache.get(u); if (obj != null) ...
3,236,218
public Object invoke(MethodInvocation mi) throws Throwable { /* find concrete method */ Method mthd = mi.getMethod(); Class implClass = mi.getThis().getClass(); Method implMethod = implClass.getMethod(mthd.getName(), (Class[]) mthd .getParameterTypes()); log.info...
public Object invoke(MethodInvocation mi) throws Throwable { /* find concrete method */ Method mthd = mi.getMethod(); Class implClass = mi.getThis().getClass(); Method implMethod = implClass.getMethod(mthd.getName(), (Class[]) mthd .getParameterTypes()); log.info...
3,236,219
public Object invoke(MethodInvocation mi) throws Throwable { /* find concrete method */ Method mthd = mi.getMethod(); Class implClass = mi.getThis().getClass(); Method implMethod = implClass.getMethod(mthd.getName(), (Class[]) mthd .getParameterTypes()); log.info...
public Object invoke(MethodInvocation mi) throws Throwable { /* find concrete method */ Method mthd = mi.getMethod(); Class implClass = mi.getThis().getClass(); Method implMethod = implClass.getMethod(mthd.getName(), (Class[]) mthd .getParameterTypes()); log.info...
3,236,220
public Object invoke(MethodInvocation mi) throws Throwable { /* find concrete method */ Method mthd = mi.getMethod(); Class implClass = mi.getThis().getClass(); Method implMethod = implClass.getMethod(mthd.getName(), (Class[]) mthd .getParameterTypes()); log.info...
public Object invoke(MethodInvocation mi) throws Throwable { /* find concrete method */ Method mthd = mi.getMethod(); Class implClass = mi.getThis().getClass(); Method implMethod = implClass.getMethod(mthd.getName(), (Class[]) mthd .getParameterTypes()); log.info...
3,236,221
public List childNodes() { return Collections.EMPTY_LIST; }
public List childNodes() { return EMPTY_LIST; }
3,236,222
private List<String> jar(URL location) throws IOException { List<String> classNames = new ArrayList(); String jarPath = location.getFile().replaceFirst("./META-INF", ""); URL url = new URL(jarPath); InputStream in = url.openStream(); JarInputStream jarStream = new JarInputStream(i...
private List<String> jar(URL location) throws IOException { List<String> classNames = new ArrayList(); String jarPath = location.getFile().replaceFirst("./META-INF", ""); URL url = new URL(jarPath); InputStream in = url.openStream(); JarInputStream jarStream = new JarInputStream(i...
3,236,223
private List<String> jar(URL location) throws IOException { List<String> classNames = new ArrayList(); String jarPath = location.getFile().replaceFirst("./META-INF", ""); URL url = new URL(jarPath); InputStream in = url.openStream(); JarInputStream jarStream = new JarInputStream(i...
private List<String> jar(URL location) throws IOException { List<String> classNames = new ArrayList(); String jarPath = location.getFile().replaceFirst("./META-INF", ""); URL url = new URL(jarPath); InputStream in = url.openStream(); JarInputStream jarStream = new JarInputStream(i...
3,236,224
private List<String> jar(URL location) throws IOException { List<String> classNames = new ArrayList(); String jarPath = location.getFile().replaceFirst("./META-INF", ""); URL url = new URL(jarPath); InputStream in = url.openStream(); JarInputStream jarStream = new JarInputStream(i...
private List<String> jar(URL location) throws IOException { List<String> classNames = new ArrayList(); String jarPath = location.getFile().replaceFirst("./META-INF", ""); URL url = new URL(jarPath); InputStream in = url.openStream(); JarInputStream jarStream = new JarInputStream(i...
3,236,225
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = testHeadlines.length; int nrOfRows = rows.intValue(); if (nrOfRows == 0) { nrOfRows = availableRows; } int maxRow = start.intValue() + nrOfRows; if (maxRow > availableR...
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = testHeadlines.length; int nrOfRows = rows.intValue(); if (nrOfRows == 0) { nrOfRows = availableRows; } int maxRow = start.intValue() + nrOfRows; if (maxRow > availableR...
3,236,226
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = testHeadlines.length; int nrOfRows = rows.intValue(); if (nrOfRows == 0) { nrOfRows = availableRows; } int maxRow = start.intValue() + nrOfRows; if (maxRow > availableR...
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = testHeadlines.length; int nrOfRows = rows.intValue(); if (nrOfRows == 0) { nrOfRows = availableRows; } int maxRow = start.intValue() + nrOfRows; if (maxRow > availableR...
3,236,227
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = testHeadlines.length; int nrOfRows = rows.intValue(); if (nrOfRows == 0) { nrOfRows = availableRows; } int maxRow = start.intValue() + nrOfRows; if (maxRow > availableR...
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = testHeadlines.length; int nrOfRows = rows.intValue(); if (nrOfRows == 0) { nrOfRows = availableRows; } int maxRow = start.intValue() + nrOfRows; if (maxRow > availableR...
3,236,228
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = testHeadlines.length; int nrOfRows = rows.intValue(); if (nrOfRows == 0) { nrOfRows = availableRows; } int maxRow = start.intValue() + nrOfRows; if (maxRow > availableR...
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = testHeadlines.length; int nrOfRows = rows.intValue(); if (nrOfRows == 0) { nrOfRows = availableRows; } int maxRow = start.intValue() + nrOfRows; if (maxRow > availableR...
3,236,229
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
3,236,231
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
3,236,232
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
3,236,233
private void handleException(RenderingServiceException e) { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyError(ImViewerAgent.ERROR, e.getMessage(), e.getCause()); parentModel.discard(); }
private void handleException(RenderingServiceException e) { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyError(ImViewerAgent.ERROR, e.getExtendedMessage(), e.getCause()); parentModel.discard(); }
3,236,235
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
3,236,237
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
3,236,238
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
3,236,239
private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
3,236,240
private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
3,236,241
private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
3,236,242
private final int jjMoveNfa_3(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 31; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu...
private final int jjMoveNfa_3(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 31; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu...
3,236,243
private final int jjMoveNfa_3(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 31; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu...
private final int jjMoveNfa_3(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 31; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu...
3,236,244
private final int jjMoveNfa_4(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
private final int jjMoveNfa_4(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
3,236,245
private final int jjMoveNfa_4(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
private final int jjMoveNfa_4(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
3,236,246
private final int jjMoveNfa_4(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
private final int jjMoveNfa_4(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
3,236,247
private final int jjMoveNfa_4(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
private final int jjMoveNfa_4(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cur...
3,236,248
private final int jjStopStringLiteralDfa_3(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x804000L) != 0L) return 0; if ((active0 & 0x1c000000L) != 0L) { jjmatchedKind = 52; return 29; } if ((active0 & 0x3000000000L) != 0L...
private final int jjStopStringLiteralDfa_3(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x804000L) != 0L) return 0; if ((active0 & 0x1c000000L) != 0L) { jjmatchedKind = 52; return 29; } if ((active0 & 0x3000000000L) != 0L...
3,236,250
private final int jjStopStringLiteralDfa_3(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x804000L) != 0L) return 0; if ((active0 & 0x1c000000L) != 0L) { jjmatchedKind = 52; return 29; } if ((active0 & 0x3000000000L) != 0L...
private final int jjStopStringLiteralDfa_3(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x804000L) != 0L) return 0; if ((active0 & 0x1c000000L) != 0L) { jjmatchedKind = 52; return 29; } if ((active0 & 0x3000000000L) != 0L...
3,236,251
public void testMap() { try { SimpleInterface si = (SimpleInterface) manager.eval("ruby", "(java)", 1, 1, "SimpleInterfaceImpl.new"); Map map = si.getMap(); for (Iterator e = map.keySet().iterator(); e.hasNext(); ) { Object key = e.next(); Object value = map.get(key); assertTrue(key.getClass() ==...
public void testMap() { try { SimpleInterface si = (SimpleInterface) manager.eval("ruby", "(java)", 1, 1, "SimpleInterfaceImpl.new"); Map map = si.getMap(); for (Iterator e = map.keySet().iterator(); e.hasNext(); ) { Object key = e.next(); Object value = map.get(key); assertTrue(key.getClass() ==...
3,236,253
public void testMap() { try { SimpleInterface si = (SimpleInterface) manager.eval("ruby", "(java)", 1, 1, "SimpleInterfaceImpl.new"); Map map = si.getMap(); for (Iterator e = map.keySet().iterator(); e.hasNext(); ) { Object key = e.next(); Object value = map.get(key); assertTrue(key.getClass() ==...
public void testMap() { try { SimpleInterface si = (SimpleInterface) manager.eval("ruby", "(java)", 1, 1, "SimpleInterfaceImpl.new"); Map map = si.getMap(); for (Iterator e = map.keySet().iterator(); e.hasNext(); ) { Object key = e.next(); Object value = map.get(key); assertTrue(key.getClass() ==...
3,236,254
public IRubyObject lstat(IRubyObject filename) { RubyString name = RubyString.stringValue(filename); return getRuntime().newRubyFileStat(new NormalizedFile(name.getValue())); }
publicIRubyObjectlstat(IRubyObjectfilename){ RubyStringname=RubyString.stringValue(filename);returngetRuntime().newRubyFileStat(newNormalizedFile(name.getValue()));}
3,236,256
public void marshalTo(MarshalStream output) throws java.io.IOException { output.write('{'); output.dumpInt(getValueMap().size()); for (Iterator iter = entryIterator(); iter.hasNext();) { Map.Entry entry = (Map.Entry) iter.next(); output.dumpObject((IRubyObject) entry.getKey()); output.dumpObject((IRubyOb...
public void marshalTo(MarshalStream output) throws java.io.IOException { output.write('{'); output.dumpInt(getValueMap().size()); for (Iterator iter = entryIterator(); iter.hasNext();) { Map.Entry entry = (Map.Entry) iter.next(); output.dumpObject((IRubyObject) entry.getKey()); output.dumpObject((IRubyOb...
3,236,257
public static RubyHash unmarshalFrom(UnmarshalStream input) throws java.io.IOException { RubyHash result = newHash(input.getRuntime()); input.registerLinkTarget(result); int size = input.unmarshalInt(); for (int i = 0; i < size; i++) { IRubyObject key = input.unmarshalObject()...
public static RubyHash unmarshalFrom(UnmarshalStream input) throws IOException { RubyHash result = newHash(input.getRuntime()); input.registerLinkTarget(result); int size = input.unmarshalInt(); for (int i = 0; i < size; i++) { IRubyObject key = input.unmarshalObject(); ...
3,236,259
protected String renderColorEnd() { return "</color>"; }
protected String renderColorEnd() { return "</font>"; }
3,236,263
private void generateSourceFileList(PackageData packageData) throws IOException { String filename; SortedSet sourceFiles; if (packageData == null) { filename = "frame-sourcefiles.html"; sourceFiles = projectData.getSourceFiles(); } else { filename = "frame-sourcefiles-" + packageData.getName() + ".html"...
private void generateSourceFileList(PackageData packageData) throws IOException { String filename; SortedSet sourceFiles; if (packageData == null) { filename = "frame-sourcefiles.html"; sourceFiles = projectData.getSourceFiles(); } else { filename = "frame-sourcefiles-" + packageData.getName() + ".html"...
3,236,265
private void generateSourceFileList(PackageData packageData) throws IOException { String filename; SortedSet sourceFiles; if (packageData == null) { filename = "frame-sourcefiles.html"; sourceFiles = projectData.getSourceFiles(); } else { filename = "frame-sourcefiles-" + packageData.getName() + ".html"...
private void generateSourceFileList(PackageData packageData) throws IOException { String filename; SortedSet sourceFiles; if (packageData == null) { filename = "frame-sourcefiles.html"; sourceFiles = projectData.getSourceFiles(); } else { filename = "frame-sourcefiles-" + packageData.getName() + ".html"...
3,236,266