bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public Box getIDBox(String id) { return this.sharedContext.getIDBox(id); } | public Box getIDBox(String id) { return this.sharedContext.getIDBox(id); } | 3,225,499 |
private static int processOutOfFlowContent(LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { BlockBox abs = LayoutUtil.generateAbsolute(c, cont... | private static int processOutOfFlowContent(LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { BlockBox abs = LayoutUtil.generateAbsolute(c, cont... | 3,225,501 |
public UIPerformanceTestSuite() { addTest(new ActivitiesPerformanceSuite()); addTest(new PresentationPerformanceTestSuite()); addTest(new WorkbenchPerformanceSuite()); addTest(new ViewPerformanceSuite()); addTest(new EditorPerformanceSuite()); addTest(new TestSuite(Commands... | public UIPerformanceTestSuite() { addTest(new ActivitiesPerformanceSuite()); addTest(new PresentationPerformanceTestSuite()); addTest(new WorkbenchPerformanceSuite()); addTest(new ViewPerformanceSuite()); addTest(new EditorPerformanceSuite()); addTest(new TestSuite(Commands... | 3,225,502 |
public void testScenario14() { Text t1 = new Text(getComposite(), SWT.BORDER); Text t2 = new Text(getComposite(), SWT.BORDER); getDbc().bindValue(SWTObservables.observeText(t1, SWT.Modify), BeansObservables.observeValue(adventure, "name"), null); getDbc().bindValue(SWTObservables.obser... | public void testScenario14() { Text t1 = new Text(getComposite(), SWT.BORDER); Text t2 = new Text(getComposite(), SWT.BORDER); getDbc().bindValue(SWTObservables.observeText(t1, SWT.Modify), BeansObservables.observeValue(adventure, "name"), null); getDbc().bindValue(SWTObservables.obser... | 3,225,503 |
public void handleChange(IObservable source) { // Count how many times adventure has changed counter[0]++; } | public void handleChange(ChangeEvent event) { // Count how many times adventure has changed counter[0]++; } | 3,225,504 |
private boolean processBroadcast(DatagramPacket packet) { if (packet == null) { throw new NullPointerException("Packet is null"); } if (packet.getData() == null) { throw new NullPointerException("Packet data is null"); } byte[] content = new byte[packet.getLe... | private boolean processBroadcast(DatagramPacket packet) { if (packet == null) { throw new NullPointerException("Packet is null"); } if (packet.getData() == null) { throw new NullPointerException("Packet data is null"); } byte[] content = new byte[packet.getLe... | 3,225,505 |
public void doFilter( ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { if (USE_LAYOUT_CACHE_FILTER) { _log.debug("Layout Cache is enabled"); } else { _log.debug("Layout Cache is disabled"); } HttpServletRequest request = (HttpServletRequest)req; HttpServle... | public void doFilter( ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { if (USE_LAYOUT_CACHE_FILTER) { _log.debug("Layout Cache is enabled"); } else { _log.debug("Layout Cache is disabled"); } HttpServletRequest request = (HttpServletRequest)req; HttpServle... | 3,225,506 |
public static RubyClass createNilClass(Ruby ruby) { RubyClass nilClass = ruby.defineClass("NilClass", ruby.getObjectClass()); nilClass.defineMethod("type", getMethodType()); nilClass.defineMethod("to_i", getMethodToI()); nilClass.defineMethod("to_s", getMethodToS()); nilCl... | public static RubyClass createNilClass(Ruby ruby) { RubyClass nilClass = ruby.defineClass("NilClass", ruby.getObjectClass()); nilClass.defineMethod("type", getMethodType()); nilClass.defineMethod("to_i", getMethodToI()); nilClass.defineMethod("to_s", getMethodToS()); nilCl... | 3,225,508 |
public static RubyClass createNilClass(Ruby ruby) { RubyClass nilClass = ruby.defineClass("NilClass", ruby.getObjectClass()); nilClass.defineMethod("type", getMethodType()); nilClass.defineMethod("to_i", getMethodToI()); nilClass.defineMethod("to_s", getMethodToS()); nilCl... | public static RubyClass createNilClass(Ruby ruby) { RubyClass nilClass = ruby.defineClass("NilClass", ruby.getObjectClass()); nilClass.defineMethod("type", getMethodType()); nilClass.defineMethod("to_i", getMethodToI()); nilClass.defineMethod("to_s", getMethodToS()); nilCl... | 3,225,509 |
public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | 3,225,510 |
public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | 3,225,511 |
public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | public static void layoutContent(LayoutContext c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Obje... | 3,225,512 |
private void setConfig(String key, String value) { Ruby runtime = configHash.getRuntime(); configHash.aset(RubyString.newString(runtime, key), RubyString.newString(runtime, value)); } | private void setConfig(String key, String value) { Ruby runtime = configHash.getRuntime(); configHash.aset(RubyString.newString(runtime, key), RubyString.newString(runtime, value)); } | 3,225,514 |
public void run(String[] ids) throws ActionException { // Set default locale String userLanguage = SystemProperties.get("user.language"); String userCountry = SystemProperties.get("user.country"); String userVariant = SystemProperties.get("user.variant"); if (Validator.isNull(userVariant)) { Locale.setDefault(n... | public void run(String[] ids) throws ActionException { // Set default locale String userLanguage = SystemProperties.get("user.language"); String userCountry = SystemProperties.get("user.country"); String userVariant = SystemProperties.get("user.variant"); if (Validator.isNull(userVariant)) { Locale.setDefault(n... | 3,225,515 |
public static IRubyObject createTopSelf(final Ruby runtime) { IRubyObject topSelf = new RubyObject(runtime, runtime.getClasses().getObjectClass()); topSelf.defineSingletonMethod("to_s", new Callback() { /** * @see org.jruby.runtime.callback.Callback#execute(IRubyObject, ... | public static IRubyObject createTopSelf(final Ruby runtime) { IRubyObject topSelf = new RubyObject(runtime, runtime.getObject()); topSelf.defineSingletonMethod("to_s", new Callback() { /** * @see org.jruby.runtime.callback.Callback#execute(IRubyObject, IRubyObject[]) ... | 3,225,516 |
public static IRubyObject createTopSelf(final Ruby runtime) { IRubyObject topSelf = new RubyObject(runtime, runtime.getClasses().getObjectClass()); topSelf.defineSingletonMethod("to_s", new Callback() { /** * @see org.jruby.runtime.callback.Callback#execute(IRubyObject, ... | public static IRubyObject createTopSelf(final Ruby runtime) { IRubyObject topSelf = new RubyObject(runtime, runtime.getClasses().getObjectClass()); topSelf.defineSingletonMethod("to_s", new Callback() { /** * @see org.jruby.runtime.callback.Callback#execute(IRubyObject, ... | 3,225,517 |
public static IRubyObject createTopSelf(final Ruby runtime) { IRubyObject topSelf = new RubyObject(runtime, runtime.getClasses().getObjectClass()); topSelf.defineSingletonMethod("to_s", new Callback() { /** * @see org.jruby.runtime.callback.Callback#execute(IRubyObject, ... | public static IRubyObject createTopSelf(final Ruby runtime) { IRubyObject topSelf = new RubyObject(runtime, runtime.getClasses().getObjectClass()); topSelf.defineSingletonMethod("to_s", new Callback() { /** * @see org.jruby.runtime.callback.Callback#execute(IRubyObject, ... | 3,225,518 |
public static IRubyObject createTopSelf(final Ruby runtime) { IRubyObject topSelf = new RubyObject(runtime, runtime.getClasses().getObjectClass()); topSelf.defineSingletonMethod("to_s", new Callback() { /** * @see org.jruby.runtime.callback.Callback#execute(IRubyObject, ... | public static IRubyObject createTopSelf(final Ruby runtime) { IRubyObject topSelf = new RubyObject(runtime, runtime.getClasses().getObjectClass()); topSelf.defineSingletonMethod("to_s", new Callback() { /** * @see org.jruby.runtime.callback.Callback#execute(IRubyObject, ... | 3,225,519 |
public IRubyObject execute(IRubyObject recv, IRubyObject[] args) { runtime.secure(4); return runtime.getClasses().getObjectClass().include(args); } | public IRubyObject execute(IRubyObject recv, IRubyObject[] args) { runtime.secure(4); return runtime.getObject().include(args); } | 3,225,520 |
public IRubyObject execute(IRubyObject recv, IRubyObject[] args) { return runtime.getClasses().getObjectClass().rbPublic(args); } | public IRubyObject execute(IRubyObject recv, IRubyObject[] args) { return runtime.getObject().rbPublic(args); } | 3,225,521 |
public IRubyObject execute(IRubyObject recv, IRubyObject[] args) { return runtime.getClasses().getObjectClass().rbPrivate(args); } | public IRubyObject execute(IRubyObject recv, IRubyObject[] args) { return runtime.getObject().rbPrivate(args); } | 3,225,522 |
public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { u.p("really starting new thread"); u.p("threaded = " + threaded); done = false; graphics = g; if(threaded) { new Thread(this).start(); } else { ... | public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { u.p("really starting new thread"); u.p("threaded = " + threaded); done = false; graphics = g; if(threaded) { new Thread(this).start(); } else { ... | 3,225,523 |
public synchronized void startRender(Graphics g) { g.setColor(Color.black); if(this.isLayoutDone()) { if(panel.body_box != null) { //u.p("really painting: " + panel.body_box); try { panel.doRender(); } catch (Throwable thr) { ... | publicsynchronizedvoidstartRender(Graphicsg){g.setColor(Color.black);if(this.isLayoutDone()){if(panel.body_box!=null){//u.p("reallypainting:"+panel.body_box);try{panel.doRender();}catch(Throwablethr){u.p("currentthread="+Thread.currentThread());u.p(thr);thr.printStackTrace();}}else{g.drawString("bodyboxisnull",50,50);u... | 3,225,524 |
protected void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); //Element body = x.child( html, "body" ); //body = html; // se... | public void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); //Element body = x.child( html, "body" ); //body = html; // set u... | 3,225,525 |
public void doRender() { layout.getRenderer().paint( getRenderingContext().getContext(), body_box ); } | protected void doRender() { layout.getRenderer().paint( getRenderingContext().getContext(), body_box ); } | 3,225,526 |
public void run() { System.out.println(""+isChecked()); } | public void run() { System.out.println(""+isChecked()); } | 3,225,529 |
public void save() { // Write properties into core writeTrigger.triggerCommit(); // Set locale if (languageChooser.getSelectedItem() instanceof Locale) { Locale locale = (Locale) languageChooser.getSelectedItem(); // Check if we need to restart needsResta... | public void save() { // Write properties into core writeTrigger.triggerCommit(); // Set locale if (languageChooser.getSelectedItem() instanceof Locale) { Locale locale = (Locale) languageChooser.getSelectedItem(); // Check if we need to restart needsResta... | 3,225,530 |
public void simulateQuote(MSymbol symbol) { MarketDataSnapshotFullRefresh quoteMessage = new MarketDataSnapshotFullRefresh(); quoteMessage.setField(new Symbol(symbol.getBaseSymbol())); //agl not setting any other fields as only care about the symbol for mocking getQuoteJmsTemplate().convertAndSend(quoteMessage); } | public void simulateQuote(MSymbol symbol) { MarketDataSnapshotFullRefresh quoteMessage = new MarketDataSnapshotFullRefresh(); quoteMessage.setField(new Symbol(symbol.getBaseSymbol())); //agl not setting any other fields as only care about the symbol for mocking getQuoteJmsTemplate().convertAndSend(quoteMessage); } | 3,225,531 |
public MessageHolder evaluate(List<MessageHolder> messages) { MessageHolder latestMessage = null; for (MessageHolder holder : messages) { Message message = holder.getMessage(); if (filter(holder)) { try { if (latestMessage == null){ latestMessage = holder; } else { Date newTime = message.get... | public MessageHolder evaluate(List<MessageHolder> messages) { MessageHolder latestMessage = null; for (MessageHolder holder : messages) { Message message = holder.getMessage(); if (filter(holder)) { try { if (latestMessage == null){ latestMessage = holder; } else { Date newTime = message.get... | 3,225,532 |
public MessageHolder evaluate(List<MessageHolder> messages) { MessageHolder latestMessage = null; for (MessageHolder holder : messages) { Message message = holder.getMessage(); if (filter(holder)) { try { if (latestMessage == null){ latestMessage = holder; } else { Date newTime = message.get... | public MessageHolder evaluate(List<MessageHolder> messages) { MessageHolder latestMessage = null; for (MessageHolder holder : messages) { Message message = holder.getMessage(); if (filter(holder)) { try { if (latestMessage == null){ latestMessage = holder; } else { Date newTime = message.get... | 3,225,533 |
public MessageHolder evaluate(List<MessageHolder> messages) { MessageHolder latestMessage = null; for (MessageHolder holder : messages) { Message message = holder.getMessage(); if (filter(holder)) { try { if (latestMessage == null){ latestMessage = holder; } else { Date newTime = message.get... | public MessageHolder evaluate(List<MessageHolder> messages) { MessageHolder latestMessage = null; for (MessageHolder holder : messages) { Message message = holder.getMessage(); if (filter(holder)) { try { if (latestMessage == null){ latestMessage = holder; } else { Date newTime = message.get... | 3,225,534 |
public MessageHolder evaluate(List<MessageHolder> messages) { MessageHolder latestMessage = null; for (MessageHolder holder : messages) { Message message = holder.getMessage(); if (filter(holder)) { try { if (latestMessage == null){ latestMessage = holder; } else { Date newTime = message.get... | public MessageHolder evaluate(List<MessageHolder> messages) { MessageHolder latestMessage = null; for (MessageHolder holder : messages) { Message message = holder.getMessage(); if (filter(holder)) { try { if (latestMessage == null){ latestMessage = holder; } else { Date newTime = message.get... | 3,225,535 |
public void addInlineChild(Context c, InlineBox ib) { if (ib == null) { throw new NullPointerException("trying to add null child"); } if (getChildCount() == 0 && ib instanceof InlineTextBox) {//first box on line InlineTextBox child = (InlineTextBox) ib; if (chil... | public void addInlineChild(Context c, InlineBox ib) { if (ib == null) { throw new NullPointerException("trying to add null child"); } if (getChildCount() == 0 && ib instanceof InlineTextBox) {//first box on line InlineTextBox child = (InlineTextBox) ib; if (chil... | 3,225,536 |
public void addInlineChild(Context c, InlineBox ib) { if (ib == null) { throw new NullPointerException("trying to add null child"); } if (getChildCount() == 0 && ib instanceof InlineTextBox) {//first box on line InlineTextBox child = (InlineTextBox) ib; if (chil... | public void addInlineChild(Context c, InlineBox ib) { if (ib == null) { throw new NullPointerException("trying to add null child"); } if (getChildCount() == 0 && ib instanceof InlineTextBox) {//first box on line InlineTextBox child = (InlineTextBox) ib; if (chil... | 3,225,537 |
private JavaClass(Ruby runtime, Class javaClass) { super(runtime, (RubyClass) runtime.getClasses().getClassFromPath("Java::JavaClass"), javaClass); } | private JavaClass(Ruby runtime, Class javaClass) { super(runtime, (RubyClass) runtime.getModule("Java").getClass("JavaClass"), javaClass); } | 3,225,538 |
public static RubyClass createJavaClassClass(Ruby runtime, RubyModule javaModule) { RubyClass result = javaModule.defineClassUnder("JavaClass", runtime.getClasses().getJavaObjectClass()); CallbackFactory callbackFactory = runtime.callbackFactory(JavaClass.class); result.includeModule(runt... | public static RubyClass createJavaClassClass(Ruby runtime, RubyModule javaModule) { RubyClass result = javaModule.defineClassUnder("JavaClass", runtime.getClass("JavaObject")); CallbackFactory callbackFactory = runtime.callbackFactory(JavaClass.class); result.includeModule(runtime.getClas... | 3,225,539 |
public static RubyClass createJavaClassClass(Ruby runtime, RubyModule javaModule) { RubyClass result = javaModule.defineClassUnder("JavaClass", runtime.getClasses().getJavaObjectClass()); CallbackFactory callbackFactory = runtime.callbackFactory(JavaClass.class); result.includeModule(runt... | public static RubyClass createJavaClassClass(Ruby runtime, RubyModule javaModule) { RubyClass result = javaModule.defineClassUnder("JavaClass", runtime.getClasses().getJavaObjectClass()); CallbackFactory callbackFactory = runtime.callbackFactory(JavaClass.class); result.includeModule(runt... | 3,225,540 |
public JavaObject new_array(IRubyObject lengthArgument) { if (! (lengthArgument instanceof RubyInteger)) { throw getRuntime().newTypeError(lengthArgument, getRuntime().getClasses().getIntegerClass()); } int length = (int) ((RubyInteger) lengthArgument).getLongValue(); return n... | public JavaObject new_array(IRubyObject lengthArgument) { if (! (lengthArgument instanceof RubyInteger)) { throw getRuntime().newTypeError(lengthArgument, getRuntime().getClass("Integer")); } int length = (int) ((RubyInteger) lengthArgument).getLongValue(); return new JavaArra... | 3,225,541 |
private boolean IS_ARG() { return ph.getLexState() == LexState.EXPR_ARG || ph.getLexState() == LexState.EXPR_CMDARG; } | private boolean IS_ARG() { return ph.getLexState() == LexState.EXPR_ARG; } | 3,225,542 |
public NODE yycompile(String f, int line) { RubyId sl_id = ruby.intern("SCRIPT_LINES__"); if (!ph.isCompileForEval() && ruby.getSecurityLevel() == 0 && ruby.getClasses().getObjectClass().isConstantDefined(sl_id)) { RubyHash hash = (RubyHash)ruby.getClasses().getObjectClass().getConstant(sl_... | public NODE yycompile(String f, int line) { RubyId sl_id = ruby.intern("SCRIPT_LINES__"); if (!ph.isCompileForEval() && ruby.getSecurityLevel() == 0 && ruby.getClasses().getObjectClass().isConstantDefined(sl_id)) { RubyHash hash = (RubyHash)ruby.getClasses().getObjectClass().getConstant(sl_... | 3,225,543 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,544 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,545 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,546 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,547 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,548 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,549 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,550 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,551 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,552 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,553 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,554 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,555 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,556 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,557 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,558 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,559 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,560 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,561 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,562 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,563 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,564 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,565 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,566 |
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 3,225,567 |
public void selectionChanged(IStructuredSelection selection) { IMarker[] markers = getSelectedMarkers(selection); for (int i = 0; i < markers.length; i++) { if (IDE.getMarkerHelpRegistry().hasResolutions(markers[i])) { setEnabled(true); return; } } setEnabled(false); } | public void selectionChanged(IStructuredSelection selection) { IMarker[] markers = getSelectedMarkers(selection); for (int i = 0; i < markers.length; i++) { if (IDE.getMarkerHelpRegistry().hasResolutions(markers[i])) { setEnabled(true); return; } } setEnabled(false); } | 3,225,568 |
private void createBuildControls(Composite parent) { buildPreference = new Button(parent, SWT.CHECK); buildPreference.setText("Restore 2.1 rebuild actions for this session"); //$NON-NLS-1$ buildPreference.setSelection(WorkbenchActionBuilder.INCLUDE_REBUILD_ACTIONS); buildPreference.addSelectionListener(new Selecti... | private void createBuildControls(Composite parent) { buildPreference = new Button(parent, SWT.CHECK); buildPreference.setText("Restore 2.1 rebuild actions for this session"); //$NON-NLS-1$ buildPreference.setSelection(WorkbenchActionBuilder.INCLUDE_REBUILD_ACTIONS); buildPreference.addSelectionListener(new Selecti... | 3,225,570 |
public void widgetSelected(SelectionEvent e) { WorkbenchActionBuilder.setIncludeRebuildActions(buildPreference.getSelection()); } | public void widgetSelected(SelectionEvent e) { WorkbenchActionBuilder.setIncludeRebuildActions(buildPreference.getSelection()); } | 3,225,571 |
protected Control createContents(Composite parent) { createBuildControls(parent); createRefreshControls(parent); return parent; } | protected Control createContents(Composite parent) { createBuildControls(parent); createRefreshControls(parent); return parent; } | 3,225,572 |
public void init(IWorkbench workbench) { //Nothing to do here } | public void init(IWorkbench workbench) { //Nothing to do here } | 3,225,573 |
protected void performDefaults() { slider.setSelection(FAST); setLabelText(FAST); boolean autoRefresh = ResourcesPlugin.getPlugin().getPluginPreferences().getDefaultBoolean( ResourcesPlugin.PREF_AUTO_REFRESH); autoRefreshButton.setSelection(autoRefresh); pollingRefreshText.setEnabled(autoRefresh); pollingRe... | protected void performDefaults() { slider.setSelection(FAST); setLabelText(FAST); boolean autoRefresh = ResourcesPlugin.getPlugin().getPluginPreferences().getDefaultBoolean( ResourcesPlugin.PREF_AUTO_REFRESH); autoRefreshButton.setSelection(autoRefresh); pollingRefreshText.setEnabled(autoRefresh); pollingRe... | 3,225,574 |
public boolean performOk() { Platform.getPlugin(Platform.PI_RUNTIME).getPluginPreferences().setValue( Platform.PREF_PLATFORM_PERFORMANCE, slider.getSelection()); Platform.getPlugin(Platform.PI_RUNTIME).savePluginPreferences(); Preferences preferences = ResourcesPlugin.getPlugin().getPluginPreferences(); boolea... | public boolean performOk() { Platform.getPlugin(Platform.PI_RUNTIME).getPluginPreferences().setValue( Platform.PREF_PLATFORM_PERFORMANCE, slider.getSelection()); Platform.getPlugin(Platform.PI_RUNTIME).savePluginPreferences(); Preferences preferences = ResourcesPlugin.getPlugin().getPluginPreferences(); boolea... | 3,225,575 |
public boolean performOk() { Platform.getPlugin(Platform.PI_RUNTIME).getPluginPreferences().setValue( Platform.PREF_PLATFORM_PERFORMANCE, slider.getSelection()); Platform.getPlugin(Platform.PI_RUNTIME).savePluginPreferences(); Preferences preferences = ResourcesPlugin.getPlugin().getPluginPreferences(); boolea... | public boolean performOk() { Platform.getPlugin(Platform.PI_RUNTIME).getPluginPreferences().setValue( Platform.PREF_PLATFORM_PERFORMANCE, slider.getSelection()); Platform.getPlugin(Platform.PI_RUNTIME).savePluginPreferences(); Preferences preferences = ResourcesPlugin.getPlugin().getPluginPreferences(); boolea... | 3,225,576 |
protected void setLabelText(int value) { String string; switch (value) { case SLOW : string = WorkInProgressMessages.getString("WorkInProgressPreferencePage.SlowTitle"); //$NON-NLS-1$ break; case FAST : string = WorkInProgressMessages.getString("WorkInProgressPreferencePage.FastTitle"); //$NON-NLS-1$ ... | protected void setLabelText(int value) { String string; switch (value) { case SLOW : string = WorkInProgressMessages.getString("WorkInProgressPreferencePage.SlowTitle"); //$NON-NLS-1$ break; case FAST : string = WorkInProgressMessages.getString("WorkInProgressPreferencePage.FastTitle"); //$NON-NLS-1$ ... | 3,225,577 |
public void shrinkExtents(Box block) { extents_stack.push(getExtents()); Border border = block.border; Border padding = block.padding; Border margin = block.margin; Rectangle rect = new Rectangle(0, 0, getExtents().width - (margin.left + border.left + padding.left) ... | public void shrinkExtents(Box block) { extents_stack.push(getExtents()); Border border = block.border; Border padding = block.padding; Border margin = block.margin; Rectangle rect = new Rectangle(0, 0, getExtents().width - (margin.left + border.left + padding.left) ... | 3,225,578 |
public void setCategoryId(String categoryId) { if (((categoryId == null) && (_categoryId != null)) || ((categoryId != null) && (_categoryId == null)) || ((categoryId != null) && (_categoryId != null) && !categoryId.equals(_categoryId))) { if (!XSS_ALLOW_CATEGORYID) { categoryId = XSSUtil.strip(categoryI... | public void setCategoryId(String categoryId) { if (((categoryId == null) && (_categoryId != null)) || ((categoryId != null) && (_categoryId == null)) || ((categoryId != null) && (_categoryId != null) && !categoryId.equals(_categoryId))) { if (!XSS_ALLOW_CATEGORYID) { categoryId = XSSUtil.strip(categoryI... | 3,225,579 |
public void setCompanyId(String companyId) { if (((companyId == null) && (_companyId != null)) || ((companyId != null) && (_companyId == null)) || ((companyId != null) && (_companyId != null) && !companyId.equals(_companyId))) { if (!XSS_ALLOW_COMPANYID) { companyId = XSSUtil.strip(companyId); } _co... | public void setCompanyId(String companyId) { if (((companyId == null) && (_companyId != null)) || ((companyId != null) && (_companyId == null)) || ((companyId != null) && (_companyId != null) && !companyId.equals(_companyId))) { if (!XSS_ALLOW_COMPANYID) { companyId = XSSUtil.strip(companyId); } _co... | 3,225,580 |
public void setCreateDate(Date createDate) { if (((createDate == null) && (_createDate != null)) || ((createDate != null) && (_createDate == null)) || ((createDate != null) && (_createDate != null) && !createDate.equals(_createDate))) { _createDate = createDate; setModified(true); } } | public void setCreateDate(Date createDate) { if (((createDate == null) && (_createDate != null)) || ((createDate != null) && (_createDate == null)) || ((createDate != null) && (_createDate != null) && !createDate.equals(_createDate))) { _createDate = createDate; setModified(true); } } | 3,225,581 |
public void setDescription(String description) { if (((description == null) && (_description != null)) || ((description != null) && (_description == null)) || ((description != null) && (_description != null) && !description.equals(_description))) { if (!XSS_ALLOW_DESCRIPTION) { description = XSSUtil.str... | public void setDescription(String description) { if (((description == null) && (_description != null)) || ((description != null) && (_description == null)) || ((description != null) && (_description != null) && !description.equals(_description))) { if (!XSS_ALLOW_DESCRIPTION) { description = XSSUtil.str... | 3,225,582 |
public void setGroupId(String groupId) { if (((groupId == null) && (_groupId != null)) || ((groupId != null) && (_groupId == null)) || ((groupId != null) && (_groupId != null) && !groupId.equals(_groupId))) { if (!XSS_ALLOW_GROUPID) { groupId = XSSUtil.strip(groupId); } _groupId = groupId; setModi... | public void setGroupId(String groupId) { if (((groupId == null) && (_groupId != null)) || ((groupId != null) && (_groupId == null)) || ((groupId != null) && (_groupId != null) && !groupId.equals(_groupId))) { if (!XSS_ALLOW_GROUPID) { groupId = XSSUtil.strip(groupId); } _groupId = groupId; setModi... | 3,225,583 |
public void setLastPostDate(Date lastPostDate) { if (((lastPostDate == null) && (_lastPostDate != null)) || ((lastPostDate != null) && (_lastPostDate == null)) || ((lastPostDate != null) && (_lastPostDate != null) && !lastPostDate.equals(_lastPostDate))) { _lastPostDate = lastPostDate; setModified(true);... | public void setLastPostDate(Date lastPostDate) { if (((lastPostDate == null) && (_lastPostDate != null)) || ((lastPostDate != null) && (_lastPostDate == null)) || ((lastPostDate != null) && (_lastPostDate != null) && !lastPostDate.equals(_lastPostDate))) { _lastPostDate = lastPostDate; setModified(true);... | 3,225,584 |
public void setModifiedDate(Date modifiedDate) { if (((modifiedDate == null) && (_modifiedDate != null)) || ((modifiedDate != null) && (_modifiedDate == null)) || ((modifiedDate != null) && (_modifiedDate != null) && !modifiedDate.equals(_modifiedDate))) { _modifiedDate = modifiedDate; setModified(true);... | public void setModifiedDate(Date modifiedDate) { if (((modifiedDate == null) && (_modifiedDate != null)) || ((modifiedDate != null) && (_modifiedDate == null)) || ((modifiedDate != null) && (_modifiedDate != null) && !modifiedDate.equals(_modifiedDate))) { _modifiedDate = modifiedDate; setModified(true);... | 3,225,585 |
public void setName(String name) { if (((name == null) && (_name != null)) || ((name != null) && (_name == null)) || ((name != null) && (_name != null) && !name.equals(_name))) { if (!XSS_ALLOW_NAME) { name = XSSUtil.strip(name); } _name = name; setModified(true); } } | public void setName(String name) { if (((name == null) && (_name != null)) || ((name != null) && (_name == null)) || ((name != null) && (_name != null) && !name.equals(_name))) { if (!XSS_ALLOW_NAME) { name = XSSUtil.strip(name); } _name = name; setModified(true); } } | 3,225,586 |
public void setParentCategoryId(String parentCategoryId) { if (((parentCategoryId == null) && (_parentCategoryId != null)) || ((parentCategoryId != null) && (_parentCategoryId == null)) || ((parentCategoryId != null) && (_parentCategoryId != null) && !parentCategoryId.equals(_parentCategoryId))) { if (!XSS... | public void setParentCategoryId(String parentCategoryId) { if (((parentCategoryId == null) && (_parentCategoryId != null)) || ((parentCategoryId != null) && (_parentCategoryId == null)) || ((parentCategoryId != null) && (_parentCategoryId != null) && !parentCategoryId.equals(_parentCategoryId))) { if (!XSS... | 3,225,587 |
public void setUserId(String userId) { if (((userId == null) && (_userId != null)) || ((userId != null) && (_userId == null)) || ((userId != null) && (_userId != null) && !userId.equals(_userId))) { if (!XSS_ALLOW_USERID) { userId = XSSUtil.strip(userId); } _userId = userId; setModified(true); } ... | public void setUserId(String userId) { if (((userId == null) && (_userId != null)) || ((userId != null) && (_userId == null)) || ((userId != null) && (_userId != null) && !userId.equals(_userId))) { if (!XSS_ALLOW_USERID) { userId = XSSUtil.strip(userId); } _userId = userId; setModified(true); } ... | 3,225,588 |
public void setUserName(String userName) { if (((userName == null) && (_userName != null)) || ((userName != null) && (_userName == null)) || ((userName != null) && (_userName != null) && !userName.equals(_userName))) { if (!XSS_ALLOW_USERNAME) { userName = XSSUtil.strip(userName); } _userName = user... | public void setUserName(String userName) { if (((userName == null) && (_userName != null)) || ((userName != null) && (_userName == null)) || ((userName != null) && (_userName != null) && !userName.equals(_userName))) { if (!XSS_ALLOW_USERNAME) { userName = XSSUtil.strip(userName); } _userName = user... | 3,225,589 |
public int compareTo(Object obj) { if (obj == null) { return -1; } MBMessage mbMessage = (MBMessage)obj; int value = 0; value = getCreateDate().compareTo(mbMessage.getCreateDate()); if (value != 0) { return value; } value = getMessageId().compareTo(mbMessage.getMessageId()); if (value != 0) { return val... | public int compareTo(Object obj) { if (obj == null) { return -1; } MBMessage mbMessage = (MBMessage)obj; int value = 0; value = getCreateDate().compareTo(mbMessage.getCreateDate()); if (value != 0) { return value; } value = getMessageId().compareTo(mbMessage.getMessageId()); if (value != 0) { return val... | 3,225,590 |
public FileMetaClass(Ruby runtime) { super("File", RubyFile.class, runtime.getClasses().getIoClass()); } | public FileMetaClass(Ruby runtime) { super("File", RubyFile.class, runtime.getClass("IO")); } | 3,225,591 |
protected void initializeClass() { Ruby runtime = getRuntime(); RubyString separator = runtime.newString(File.separator); separator.freeze(); defineConstant("SEPARATOR", separator); defineConstant("Separator", separator); RubyString altSeparator = runtime.newString(File.separatorCha... | protected void initializeClass() { Ruby runtime = getRuntime(); RubyString separator = runtime.newString(File.separator); separator.freeze(); defineConstant("SEPARATOR", separator); defineConstant("Separator", separator); RubyString altSeparator = runtime.newString(File.separatorCha... | 3,225,592 |
public void clearCompletedDownloads() { Download[] completedDls = getCompletedDownloads(); completedDownloads.clear(); for (int i = 0; i < completedDls.length; i++) { listenerSupport.completedDownloadRemoved(new TransferManagerEvent( this, completedDls[i]))... | public void clearCompletedDownloads() { Download[] completedDls = getCompletedDownloads(); completedDownloads.clear(); for (int i = 0; i < completedDls.length; i++) { listenerSupport.completedDownloadRemoved(new TransferManagerEvent( this, completedDls[i]))... | 3,225,594 |
void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.containsKey(transfer.getFile()); if (transferFound) { // Add to list of completed... | 3,225,595 |
void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | 3,225,596 |
void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | 3,225,597 |
void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | 3,225,598 |
void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | 3,225,599 |
void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | 3,225,600 |
void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | 3,225,601 |
void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | 3,225,602 |
void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | void setCompleted(Transfer transfer) { boolean transferFound = false; if (transfer instanceof Download) { Download download = (Download) transfer; transferFound = downloads.remove(transfer.getFile()) != null; if (transferFound) { // Add to list of comple... | 3,225,603 |
private void storeDownloads() { // Store pending downloads try { // Collect all download infos List<Download> storedDownloads = new ArrayList(pendingDownloads); int nPending = downloads.size(); int nCompleted = completedDownloads.size(); synchroni... | private void storeDownloads() { // Store pending downloads try { // Collect all download infos List<Download> storedDownloads = new ArrayList(pendingDownloads); int nPending = downloads.size(); int nCompleted = completedDownloads.size(); synchroni... | 3,225,604 |
boolean transfer(Upload upload) { try { if (upload == null) { throw new NullPointerException("Upload is null"); } if (upload.getPartner() == null) { throw new NullPointerException("Upload member is null"); } if (upload.getFi... | boolean transfer(Upload upload) { try { if (upload == null) { throw new NullPointerException("Upload is null"); } if (upload.getPartner() == null) { throw new NullPointerException("Upload member is null"); } if (upload.getFi... | 3,225,605 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.