bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public RubyString to_s() { return RubyString.newString(runtime, value == null ? "null" : value.toString()); } | public RubyString to_s() { return getRuntime().newString( value == null ? "null" : value.toString()); } | 3,226,809 |
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //... | public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //... | 3,226,810 |
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //... | public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //... | 3,226,811 |
public Upload queueUpload(Member from, RequestDownload dl) { if (dl == null || dl.file == null) { throw new NullPointerException("Downloadrequest/File is null"); } // Never upload db files !! if (Folder.DB_FILENAME.equalsIgnoreCase(dl.file.getName()) || Folder.DB_BA... | public Upload queueUpload(Member from, RequestDownload dl) { if (dl == null || dl.file == null) { throw new NullPointerException("Downloadrequest/File is null"); } // Never upload db files !! if (Folder.DB_FILENAME.equalsIgnoreCase(dl.file.getName()) || Folder.DB_BA... | 3,226,812 |
public static void doTag( String portletName, PageContext pageContext, ServletContext ctx, HttpServletRequest req, HttpServletResponse res) throws Exception { PortletRequest portletRequest = (PortletRequest)req.getAttribute(WebKeys.JAVAX_PORTLET_REQUEST); RenderRequest renderRequest = null; if ((portletReque... | public static void doTag( String portletName, PageContext pageContext, ServletContext ctx, HttpServletRequest req, HttpServletResponse res) throws Exception { PortletRequest portletRequest = (PortletRequest)req.getAttribute(WebKeys.JAVAX_PORTLET_REQUEST); RenderRequest renderRequest = null; if ((portletReque... | 3,226,814 |
public Member[] getNodes() { synchronized (knownNodes) { Member[] nodes = new Member[knownNodes.size()]; knownNodes.values().toArray(nodes); return nodes; } } | public Member[] getNodes() { synchronized (knownNodes) { Member[] nodes = new Member[knownNodes.size()]; knownNodes.values().toArray(nodes); return nodes; } } | 3,226,815 |
private void setupPeridicalTasks() { Reject.ifNull(timer, "Timer is null to setup periodical tasks"); // Broadcast transfer status timer.schedule(new TransferStatusBroadcaster(), Constants.TRANSFER_STATUS_BROADCAST_INTERVAL * 1000 / 2, Constants.TRANSFER_STATUS_BROADCAST_I... | private void setupPeridicalTasks() { Reject.ifNull(timer, "Timer is null to setup periodical tasks"); // Broadcast transfer status timer.schedule(new TransferStatusBroadcaster(), Constants.TRANSFER_STATUS_BROADCAST_INTERVAL * 1000 / 2, Constants.TRANSFER_STATUS_BROADCAST_I... | 3,226,817 |
public void run() { // Request new nodelist from supernodes RequestNodeList request = createDefaultNodeListRequestMessage(); if (logEnabled) { log().debug("Requesting nodelist: " + request); } broadcastMessageToSupernodes(request, 6); ... | public void run() { // Request new nodelist from supernodes RequestNodeList request = createDefaultNodeListRequestMessage(); if (logEnabled) { log().debug("Requesting nodelist: " + request); } broadcastMessageToSupernodes(request, Cons... | 3,226,818 |
private void buildReconnectionQueue() { // Process only valid nodes Member[] nodes = getValidNodes(); int nBefore = reconnectionQueue.size(); synchronized (reconnectionQueue) { reconnectionQueue.clear(); // Offline limit time, all nodes before this time are not gett... | private void buildReconnectionQueue() { // Process only valid nodes Member[] nodes = getValidNodes(); int nBefore = reconnectionQueue.size(); synchronized (reconnectionQueue) { reconnectionQueue.clear(); // Offline limit time, all nodes before this time are not gett... | 3,226,819 |
private void buildReconnectionQueue() { // Process only valid nodes Member[] nodes = getValidNodes(); int nBefore = reconnectionQueue.size(); synchronized (reconnectionQueue) { reconnectionQueue.clear(); // Offline limit time, all nodes before this time are not gett... | private void buildReconnectionQueue() { // Process only valid nodes Member[] nodes = getValidNodes(); int nBefore = reconnectionQueue.size(); synchronized (reconnectionQueue) { reconnectionQueue.clear(); // Offline limit time, all nodes before this time are not gett... | 3,226,820 |
private void loadNodesFromInet() { log().info("Loading nodes from inet: " + NODES_URL); URL url; try { url = new URL(NODES_URL); } catch (MalformedURLException e) { log().verbose(e); return; } NodeList inetNodes = new NodeList(); try ... | private void loadNodesFromInet() { log().info("Loading nodes from inet: " + NODES_URL); URL url; try { url = new URL(NODES_URL); } catch (MalformedURLException e) { log().verbose(e); return; } NodeList inetNodes = new NodeList(); try ... | 3,226,821 |
public void shutdown() { // Remove listeners, not bothering them by boring shutdown events started = false; if (getController().getMySelf().isSupernode()) { // Store the latest supernodes storeOnlineSupernodes(); } // Stop threadpool if (thread... | public void shutdown() { // Remove listeners, not bothering them by boring shutdown events started = false; if (getController().getMySelf().isSupernode()) { // Store the latest supernodes storeOnlineSupernodes(); } // Stop threadpool if (thread... | 3,226,822 |
private void storeOnlineSupernodes() { Member[] nodes = getNodes(); Collection<MemberInfo> latestSupernodes = new ArrayList<MemberInfo>(); for (Member node : nodes) { if (!node.isSupernode()) { // Skip non-supernode continue; } if (... | private void storeOnlineSupernodes() { Member[] nodes = getNodes(); Collection<MemberInfo> latestSupernodesInfos = new ArrayList<MemberInfo>(); Collection<Member> latestSupernodes = new ArrayList<Member>(); for (Member node : nodes) { if (!node.isSupernode()) { // Skip... | 3,226,823 |
private void storeOnlineSupernodes() { Member[] nodes = getNodes(); Collection<MemberInfo> latestSupernodes = new ArrayList<MemberInfo>(); for (Member node : nodes) { if (!node.isSupernode()) { // Skip non-supernode continue; } if (... | private void storeOnlineSupernodes() { Member[] nodes = getNodes(); Collection<MemberInfo> latestSupernodes = new ArrayList<MemberInfo>(); for (Member node : nodes) { if (!node.isSupernode()) { // Skip non-supernode continue; } if (... | 3,226,824 |
private void storeOnlineSupernodes() { Member[] nodes = getNodes(); Collection<MemberInfo> latestSupernodes = new ArrayList<MemberInfo>(); for (Member node : nodes) { if (!node.isSupernode()) { // Skip non-supernode continue; } if (... | private void storeOnlineSupernodes() { Member[] nodes = getNodes(); Collection<MemberInfo> latestSupernodes = new ArrayList<MemberInfo>(); for (Member node : nodes) { if (!node.isSupernode()) { // Skip non-supernode continue; } if (... | 3,226,825 |
private void storeOnlineSupernodes() { Member[] nodes = getNodes(); Collection<MemberInfo> latestSupernodes = new ArrayList<MemberInfo>(); for (Member node : nodes) { if (!node.isSupernode()) { // Skip non-supernode continue; } if (... | private void storeOnlineSupernodes() { Member[] nodes = getNodes(); Collection<MemberInfo> latestSupernodes = new ArrayList<MemberInfo>(); for (Member node : nodes) { if (!node.isSupernode()) { // Skip non-supernode continue; } if (... | 3,226,826 |
private void storeOnlineSupernodes() { Member[] nodes = getNodes(); Collection<MemberInfo> latestSupernodes = new ArrayList<MemberInfo>(); for (Member node : nodes) { if (!node.isSupernode()) { // Skip non-supernode continue; } if (... | private void storeOnlineSupernodes() { Member[] nodes = getNodes(); Collection<MemberInfo> latestSupernodes = new ArrayList<MemberInfo>(); for (Member node : nodes) { if (!node.isSupernode()) { // Skip non-supernode continue; } if (... | 3,226,827 |
public PluginActionBuilder() {} | public PluginActionBuilder() {} | 3,226,828 |
protected String getTargetID(IConfigurationElement element) { String value=element.getAttribute(ATT_TARGET_ID); return value!=null? value : "???";//$NON-NLS-1$} | protected String getTargetID(IConfigurationElement element) { String value=element.getAttribute(ATT_TARGET_ID); return value!=null? value : "???";//$NON-NLS-1$} | 3,226,829 |
public void handleEvent(IElement elem) throws EventHandlerException { if(elem instanceof OutputElement) { try { ((OutputElement) elem).output(); } catch (MarketceteraException ex) { throw new MarketceteraEventHandlerException(ex.getMessage(), ex); ... | public void handleEvent(IElement elem) throws EventHandlerException { if(elem instanceof OutputElement) { try { ((OutputElement) elem).output(); } catch (MarketceteraException ex) { throw new MarketceteraEventHandlerException(ex.getMessage(), ex); ... | 3,226,830 |
public void handleEvents(List events) throws EventHandlerException { Vector<Exception> allExceptions = new Vector<Exception>(); for (Object o : events) { try { handleEvent((IElement) o); } catch (Exception ex) { allExceptions.add(ex); ... | public void handleEvents(List events) throws EventHandlerException { Vector<Exception> allExceptions = new Vector<Exception>(); for (Object o : events) { try { handleEvent((IElement) o); } catch (Exception ex) { allExceptions.add(ex); ... | 3,226,831 |
public void handleEvents(List events) throws EventHandlerException { Vector<Exception> allExceptions = new Vector<Exception>(); for (Object o : events) { try { handleEvent((IElement) o); } catch (Exception ex) { allExceptions.add(ex); ... | public void handleEvents(List events) throws EventHandlerException { Vector<Exception> allExceptions = new Vector<Exception>(); for (Object o : events) { try { handleEvent((IElement) o); } catch (Exception ex) { allExceptions.add(ex); ... | 3,226,832 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; } LayoutContext c = newLayoutContext(pageInfo, (Graphics2D) g); synchronized (this) ... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; } LayoutContext c = newLayoutContext(pageInfo, (Graphics2D) g); synchronized (this) ... | 3,226,834 |
protected LayoutContext newLayoutContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; extents = getBaseExtents(pageInfo); //Uu.p("newContext() = extents = " + extents); getSharedCo... | protected LayoutContext newLayoutContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; extents = getBaseExtents(pageInfo); //Uu.p("newContext() = extents = " + extents); //getS... | 3,226,835 |
protected LayoutContext newLayoutContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; extents = getBaseExtents(pageInfo); //Uu.p("newContext() = extents = " + extents); getSharedCo... | protectedLayoutContextnewLayoutContext(PageInfopageInfo,Graphics2Dg){XRLog.layout(Level.FINEST,"newcontextbegin");getSharedContext().setCanvas(this);Rectangleextents;extents=getBaseExtents(pageInfo);//Uu.p("newContext()=extents="+extents);getSharedContext().setMaxWidth(0);//getSharedContext().setMaxHeight(0);XRLog.layo... | 3,226,836 |
protected RenderingContext newRenderingContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; extents = getBaseExtents(pageInfo); //Uu.p("newContext() = extents = " + extents); getSh... | protected RenderingContext newRenderingContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; extents = getBaseExtents(pageInfo); //Uu.p("newContext() = extents = " + extents); ... | 3,226,837 |
protected RenderingContext newRenderingContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; extents = getBaseExtents(pageInfo); //Uu.p("newContext() = extents = " + extents); getSh... | protectedRenderingContextnewRenderingContext(PageInfopageInfo,Graphics2Dg){XRLog.layout(Level.FINEST,"newcontextbegin");getSharedContext().setCanvas(this);Rectangleextents;extents=getBaseExtents(pageInfo);//Uu.p("newContext()=extents="+extents);getSharedContext().setMaxWidth(0);//getSharedContext().setMaxHeight(0);XRLo... | 3,226,838 |
private void addExportMenu(IMenuManager aMenu) { exportWizardActionGroup.setContext(getContext()); if (importWizardActionGroup.getWizardActionIds().length == 0) { aMenu.appendToGroup(ICommonMenuConstants.GROUP_PORT, exportAction); return; } IMenuManager submenu = new MenuManager( WorkbenchNavigatorMessages.... | private void addExportMenu(IMenuManager aMenu) { exportWizardActionGroup.setContext(getContext()); if (importWizardActionGroup.getWizardActionIds().length == 0) { aMenu.appendToGroup(ICommonMenuConstants.GROUP_PORT, exportAction); return; } IMenuManager submenu = new MenuManager( WorkbenchNavigatorMessages.... | 3,226,839 |
public void addSetChangeListener(ISetChangeListener listener) { if (setChangeListeners == null) { boolean hadListeners = hasListeners(); setChangeListeners = listener; if (!hadListeners) { firstListenerAdded(); } return; } Collection listenerList; if (setChangeListeners instanceof Collection) { list... | public void addSetChangeListener(ISetChangeListener listener) { if (setChangeListeners == null) { boolean hadListeners = hasListeners(); setChangeListeners = listener; if (!hadListeners) { firstListenerAdded(); } return; } Collection listenerList; if (setChangeListeners instanceof Collection) { list... | 3,226,840 |
public void dispose() { setChangeListeners = null; super.dispose(); } | public void dispose() { setChangeListeners = null; super.dispose(); } | 3,226,841 |
protected void fireSetChange(SetDiff diff) { // fire general change event first super.fireChange(); if (setChangeListeners == null) { return; } if (setChangeListeners instanceof ISetChangeListener) { ((ISetChangeListener) setChangeListeners).handleSetChange(this, diff); return; } Collection changeList... | protected void fireSetChange(SetDiff diff) { // fire general change event first super.fireChange(); if (setChangeListeners == null) { return; } if (setChangeListeners instanceof ISetChangeListener) { ((ISetChangeListener) setChangeListeners).handleSetChange(this, diff); return; } Collection changeList... | 3,226,842 |
public void removeSetChangeListener(ISetChangeListener listener) { if (setChangeListeners == listener) { setChangeListeners = null; if (!hasListeners()) { lastListenerRemoved(); } return; } if (setChangeListeners instanceof Collection) { Collection listenerList = (Collection) setChangeListeners; list... | public void removeSetChangeListener(ISetChangeListener listener) { if (setChangeListeners == listener) { setChangeListeners = null; if (!hasListeners()) { lastListenerRemoved(); } return; } if (setChangeListeners instanceof Collection) { Collection listenerList = (Collection) setChangeListeners; list... | 3,226,843 |
public static RubyTime s_at(Ruby ruby, RubyObject rubyClass, RubyObject[] args) { long secs = RubyNumeric.num2long(args[0]); RubyTime time = new RubyTime(ruby, (RubyClass) rubyClass.getRubyClass()); GregorianCalendar cal = new GregorianCalendar(); cal.setTime(new Date(secs)); time... | public static RubyTime s_at(Ruby ruby, RubyObject rubyClass, RubyObject[] args) { long secs = RubyNumeric.num2long(args[0]); RubyTime time = new RubyTime(ruby, (RubyClass) rubyClass); GregorianCalendar cal = new GregorianCalendar(); cal.setTime(new Date(secs)); time.setJavaCalenda... | 3,226,845 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 3,226,846 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 3,226,847 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 3,226,848 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 3,226,849 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 3,226,850 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 3,226,851 |
public static InlineBox generateReplacedInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack... | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack BlockBox block ... | 3,226,852 |
public static InlineBox generateReplacedInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack... | public static InlineBox generateReplacedInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack... | 3,226,853 |
public static InlineBox generateReplacedInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack... | public static InlineBox generateReplacedInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { //u.p("generating replaced Inline Box"); // get the layout for the replaced element Layout layout = c.getLayout(node); //TODO: temporary hack... | 3,226,854 |
public static InlineBox newBox(Context c, Node node, int start, int end, InlineBox prev, String text, InlineBox prev_align, Font font) { return newBox(c, node, start, end, prev, text, null, prev_align, font); } | public static InlineBox newBox(Context c, Node node, int start, int end, InlineBox prev, String text, InlineBox prev_align, Font font) { return newBox(c, node, start, end, prev, text, null, prev_align, font); } | 3,226,855 |
public static void styleInlineBox(Context c, CalculatedStyle style, InlineBox box) { box.color = style.getColor(); TextDecoration.setupTextDecoration(style, box.getNode(), box); Font font = FontUtil.getFont(c, style); box.setFont(font); box.width = FontUtil.len(c, box.getSubstring... | public static void styleInlineBox(Context c, CalculatedStyle style, InlineBox box) { box.color = style.getColor(); TextDecoration.setupTextDecoration(style, box); Font font = FontUtil.getFont(c, style); box.setFont(font); box.width = FontUtil.len(c, box.getSubstring(), font); ... | 3,226,856 |
public String getMedia() { u.p("media = " + ctx.getMedia()); return ctx.getMedia(); } | public String getMedia() { return ctx.getMedia(); } | 3,226,857 |
public int getGroupsSize(String pk) throws SystemException { Session session = null; try { session = openSession(); SQLQuery q = session.createSQLQuery(_SQL_GETGROUPSSIZE); q.setCacheable(true); q.addScalar(HibernateUtil.getCountColumnName(), Hibernate.LONG); QueryPos qPos = QueryPos.getInstance(q); qPos... | public int getGroupsSize(String pk) throws SystemException { Session session = null; try { session = openSession(); SQLQuery q = session.createSQLQuery(_SQL_GETGROUPSSIZE); q.setCacheable(true); q.addScalar(HibernateUtil.getCountColumnName(), Hibernate.LONG); QueryPos qPos = QueryPos.getInstance(q); qPos... | 3,226,858 |
public int getUsersSize(String pk) throws SystemException { Session session = null; try { session = openSession(); SQLQuery q = session.createSQLQuery(_SQL_GETUSERSSIZE); q.setCacheable(true); q.addScalar(HibernateUtil.getCountColumnName(), Hibernate.LONG); QueryPos qPos = QueryPos.getInstance(q); qPos.a... | public int getUsersSize(String pk) throws SystemException { Session session = null; try { session = openSession(); SQLQuery q = session.createSQLQuery(_SQL_GETUSERSSIZE); q.setCacheable(true); q.addScalar(HibernateUtil.getCountColumnName(), Hibernate.LONG); QueryPos qPos = QueryPos.getInstance(q); qPos.a... | 3,226,859 |
public UploadsTableModel(TransferManager transferManager) { super(transferManager.getController()); this.listeners = Collections .synchronizedCollection(new LinkedList<TableModelListener>()); this.uploads = Collections.synchronizedList(new LinkedList<Upload>()); // Add listene... | public UploadsTableModel(TransferManager transferManager, boolean enabledPeriodicalUpdates) { super(transferManager.getController()); this.listeners = Collections .synchronizedCollection(new LinkedList<TableModelListener>()); this.uploads = Collections.synchronizedList(new LinkedList... | 3,226,860 |
public UploadsTableModel(TransferManager transferManager) { super(transferManager.getController()); this.listeners = Collections .synchronizedCollection(new LinkedList<TableModelListener>()); this.uploads = Collections.synchronizedList(new LinkedList<Upload>()); // Add listene... | public UploadsTableModel(TransferManager transferManager) { super(transferManager.getController()); this.listeners = Collections .synchronizedCollection(new LinkedList<TableModelListener>()); this.uploads = Collections.synchronizedList(new LinkedList<Upload>()); // Add listene... | 3,226,861 |
private void rowAdded() { TableModelEvent e = new TableModelEvent(this, getRowCount(), getRowCount(), TableModelEvent.ALL_COLUMNS, TableModelEvent.INSERT); modelChanged(e); } | private void rowAdded() { TableModelEvent e = new TableModelEvent(this, getRowCount(), getRowCount(), TableModelEvent.ALL_COLUMNS, TableModelEvent.INSERT); modelChanged(e); } | 3,226,862 |
private void rowsUpdated(int start, int end) { TableModelEvent e = new TableModelEvent(this, start, end); modelChanged(e); } | private void rowsUpdated(int start, int end) { TableModelEvent e = new TableModelEvent(this, start, end, TableModelEvent.ALL_COLUMNS, TableModelEvent.UPDATE); modelChanged(e); } | 3,226,863 |
public final int hashCode() { if (hashCode == HASH_CODE_NOT_COMPUTED) { hashCode = HASH_INITIAL * HASH_FACTOR + Util.hashCode(parameter); hashCode = HASH_INITIAL * HASH_FACTOR + Util.hashCode(value); if (hashCode == HASH_CODE_NOT_COMPUTED) { hashCode++; } } return hashCode; } | public final int hashCode() { if (hashCode == HASH_CODE_NOT_COMPUTED) { hashCode = HASH_INITIAL * HASH_FACTOR + Util.hashCode(parameter); hashCode = HASH_INITIAL * HASH_FACTOR + Util.hashCode(value); if (hashCode == HASH_CODE_NOT_COMPUTED) { hashCode++; } } return hashCode; } | 3,226,864 |
protected void update(){ // Update the window title updateWindowTitle(); // Update the title bar updateTitleBar(); // Update the message line updateMessage(); // Update the buttons updateButtons();} | protected void update(){ // Update the window title updateWindowTitle(); // Update the title bar updateTitleBar(); // Update the message line updateMessage(); // Update the buttons updateButtons();} | 3,226,865 |
public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | 3,226,866 |
public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | 3,226,867 |
public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | publicstaticintgetBaselineOffset(CssContextc,LineBoxcurr_line,InlineBoxnew_inline,TextRenderertr,Graphics2Dg2,BlockFormattingContextbfc){intlineHeight;intascent;intdescent;intleading;//intxheight;intbaselineOffset;if(new_inlineinstanceofInlineTextBox){//shouldbethemetricsofthefont,actuallyisthemetricsofthetextLineMetri... | 3,226,868 |
public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | 3,226,869 |
public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | 3,226,870 |
public MenuBar() throws HeadlessException { super(); int keyMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); fileOpen.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_O, keyMask ) ); fileMenu.add( fileOpen ); fileClose.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_W, keyMask ) ); fileMen... | public MenuBar() throws HeadlessException { super(); int keyMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); fileOpen.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_O, keyMask ) ); fileMenu.add( fileOpen ); fileClose.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_W, keyMask ) ); fileMen... | 3,226,871 |
public MenuBar() throws HeadlessException { super(); int keyMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); fileOpen.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_O, keyMask ) ); fileMenu.add( fileOpen ); fileClose.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_W, keyMask ) ); fileMen... | public MenuBar() throws HeadlessException { super(); int keyMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); fileOpen.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_O, keyMask ) ); fileMenu.add( fileOpen ); fileClose.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_W, keyMask ) ); fileMen... | 3,226,872 |
public void addActionListener( ActionListener l ) { if( l == this ) { fileOpen.addActionListener( l ); fileClose.addActionListener( l ); fileTrace.addActionListener( l ); autosizeColumns.addActionListener( l ); autosizeAndHideColumns.addActionListener( l ); about.addActionListener( l ); Component[] comp... | public void addActionListener( ActionListener l ) { if( l == this ) { fileOpen.addActionListener( l ); fileClose.addActionListener( l ); fileTrace.addActionListener( l ); autosizeColumns.addActionListener( l ); autosizeAndHideColumns.addActionListener( l ); about.addActionListener( l ); Component[] comp... | 3,226,873 |
public DLFileEntry updateFileEntry( String folderId, String name, String title, String description) throws PortalException, RemoteException, SystemException { User user = getUser(); DLFileEntryPermission.check( getPermissionChecker(), folderId, name, ActionKeys.UPDATE); DLFileEntryPK pk = new DLFileEntryPK(fol... | public DLFileEntry updateFileEntry( String folderId, String name, String title, String description) throws PortalException, RemoteException, SystemException { User user = getUser(); DLFileEntryPermission.check( getPermissionChecker(), folderId, name, ActionKeys.UPDATE); DLFileEntryPK pk = new DLFileEntryPK(fol... | 3,226,874 |
public DLFileEntry updateFileEntry( String folderId, String name, String title, String description) throws PortalException, RemoteException, SystemException { User user = getUser(); DLFileEntryPermission.check( getPermissionChecker(), folderId, name, ActionKeys.UPDATE); DLFileEntryPK pk = new DLFileEntryPK(fol... | public DLFileEntry updateFileEntry( String folderId, String name, String title, String description) throws PortalException, RemoteException, SystemException { User user = getUser(); DLFileEntryPermission.check( getPermissionChecker(), folderId, name, ActionKeys.UPDATE); DLFileEntryPK pk = new DLFileEntryPK(fol... | 3,226,875 |
private synchronized void completeLayout() { u.p("layout thread ending"); done = true; graphics = null; panel.repaint(); } | private synchronized void completeLayout() { done = true; graphics = null; panel.repaint(); } | 3,226,876 |
public void scan(Folder folder, boolean manual) { // TODO / Ideas: // FolderScanner should only have ONE folder to be scanned at a time, // no queue. If this method gets called while scanning process is // running throw a IllegalStateException. A new scan should only be // sta... | public void scan(Folder folder, boolean manual) { // TODO / Ideas: // FolderScanner should only have ONE folder to be scanned at a time, // no queue. If this method gets called while scanning process is // running throw a IllegalStateException. A new scan should only be // sta... | 3,226,877 |
private final void scanFile(File fileToScan, String currentDirName) { // this is a incomplete fileinfo just find one fast in the remaining // list log().verbose( "scanFile: " + fileToScan + " curdirname: " + currentDirName); String filename; if (currentDirName.length() ... | totalFilesCount++; totalFilesCount++; totalFilesCount++; totalFilesCount++; privatetotalFilesCount++; finaltotalFilesCount++; voidtotalFilesCount++; scanFile(FiletotalFilesCount++; fileToScan,totalFilesCount++; StringtotalFilesCount++; currentDirName)totalFilesCount++; {totalFilesCount++; totalFilesCount++; totalFilesC... | 3,226,879 |
private final void scanFile(File fileToScan, String currentDirName) { // this is a incomplete fileinfo just find one fast in the remaining // list log().verbose( "scanFile: " + fileToScan + " curdirname: " + currentDirName); String filename; if (currentDirName.length() ... | private final void scanFile(File fileToScan, String currentDirName) { // this is a incomplete fileinfo just find one fast in the remaining // list log().verbose( "scanFile: " + fileToScan + " curdirname: " + currentDirName); String filename; if (currentDirName.length() ... | 3,226,880 |
private void startScan() { log().info("---------------FolderScanner start------------------"); long started = System.currentTimeMillis(); if (currentScanningFolder != null) { throw new IllegalStateException( "don't want 2 scan 2 Folders concurrent"); } sy... | private void startScan() { log().info( getController().getMySelf().getNick() + "-------FolderScanner start-----------"); long started = System.currentTimeMillis(); if (currentScanningFolder != null) { throw new IllegalStateException( "don't want 2 scan 2 Folders concur... | 3,226,882 |
private void startScan() { log().info("---------------FolderScanner start------------------"); long started = System.currentTimeMillis(); if (currentScanningFolder != null) { throw new IllegalStateException( "don't want 2 scan 2 Folders concurrent"); } sy... | private void startScan() { log().info("---------------FolderScanner start------------------"); long started = System.currentTimeMillis(); if (currentScanningFolder != null) { throw new IllegalStateException( "don't want 2 scan 2 Folders concurrent"); } sy... | 3,226,883 |
public static IRubyObject chroot(IRubyObject recv, RubyString path) { throw new NotImplementedError("chroot not implemented: chroot is non-portable and is not supported."); } | public static IRubyObject chroot(IRubyObject recv, RubyString path) { throw new NotImplementedError(recv.getRuntime(), "chroot not implemented: chroot is non-portable and is not supported."); } | 3,226,885 |
public static IRubyObject open(IRubyObject recv, RubyString path) { throw new NotImplementedError(); } | public static IRubyObject open(IRubyObject recv, RubyString path) { throw new NotImplementedError(recv.getRuntime()); } | 3,226,886 |
JobMonitor(Job newJob) { job = newJob; } | JobMonitor(Job newJob) { job = newJob; } | 3,226,887 |
void addProgressListener(IProgressMonitorWithBlocking monitor) { listener = monitor; JobInfo info = getJobInfo(job); TaskInfo currentTask = info.getTaskInfo(); if (currentTask != null) { listener.beginTask(currentTaskName, currentTask.totalWork); ... | void addProgressListener(IProgressMonitorWithBlocking monitor) { listener = monitor; JobInfo info = getJobInfo(job); TaskInfo currentTask = info.getTaskInfo(); if (currentTask != null) { listener.beginTask(currentTaskName, currentTask.totalWork); ... | 3,226,888 |
public void beginTask(String taskName, int totalWork) { JobInfo info = getJobInfo(job); info.beginTask(taskName, totalWork); refreshJobInfo(info); currentTaskName = taskName; if (listener != null) { listener.beginTask(taskName, totalWork); } } | public void beginTask(String taskName, int totalWork) { JobInfo info = getJobInfo(job); info.beginTask(taskName, totalWork); refreshJobInfo(info); currentTaskName = taskName; if (listener != null) { listener.beginTask(taskName, totalWork); } } | 3,226,889 |
public void beginTask(String taskName, int totalWork) { JobInfo info = getJobInfo(job); info.beginTask(taskName, totalWork); refreshJobInfo(info); currentTaskName = taskName; if (listener != null) { listener.beginTask(taskName, totalWork); } } | public void beginTask(String taskName, int totalWork) { JobInfo info = getJobInfo(job); info.beginTask(taskName, totalWork); refreshJobInfo(info); currentTaskName = taskName; if (listener != null) { listener.beginTask(taskName, totalWork); } } | 3,226,890 |
public void clearBlocked() { JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) { listener.clearBlocked(); } } | public void clearBlocked() { JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) { listener.clearBlocked(); } } | 3,226,891 |
public void clearBlocked() { JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) { listener.clearBlocked(); } } | public void clearBlocked() { JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) { listener.clearBlocked(); } } | 3,226,892 |
public void done() { JobInfo info = getJobInfo(job); info.clearTaskInfo(); info.clearChildren(); runnableMonitors.remove(job); if (listener != null) { listener.done(); } } | public void done() { JobInfo info = getJobInfo(job); info.clearTaskInfo(); info.clearChildren(); runnableMonitors.remove(job); if (listener != null) { listener.done(); } } | 3,226,893 |
public void done() { JobInfo info = getJobInfo(job); info.clearTaskInfo(); info.clearChildren(); runnableMonitors.remove(job); if (listener != null) { listener.done(); } } | public void done() { JobInfo info = getJobInfo(job); info.clearTaskInfo(); info.clearChildren(); runnableMonitors.remove(job); if (listener != null) { listener.done(); } } | 3,226,894 |
public void internalWorked(double work) { JobInfo info = getJobInfo(job); if (info.hasTaskInfo()) { info.addWork(work); refreshJobInfo(info); } if (listener != null) { listener.internalWorked(work); } } | public void internalWorked(double work) { JobInfo info = getJobInfo(job); if (info.hasTaskInfo()) { info.addWork(work); refreshJobInfo(info); } if (listener != null) { listener.internalWorked(work); } } | 3,226,895 |
public void internalWorked(double work) { JobInfo info = getJobInfo(job); if (info.hasTaskInfo()) { info.addWork(work); refreshJobInfo(info); } if (listener != null) { listener.internalWorked(work); } } | public void internalWorked(double work) { JobInfo info = getJobInfo(job); if (info.hasTaskInfo()) { info.addWork(work); refreshJobInfo(info); } if (listener != null) { listener.internalWorked(work); } } | 3,226,896 |
public boolean isCanceled() { JobInfo info = getJobInfo(job); return info.isCanceled(); } | public boolean isCanceled() { JobInfo info = getJobInfo(job); return info.isCanceled(); } | 3,226,897 |
public void setBlocked(IStatus reason) { JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) { listener.setBlocked(reason); } } | public void setBlocked(IStatus reason) { JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) { listener.setBlocked(reason); } } | 3,226,898 |
public void setBlocked(IStatus reason) { JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) { listener.setBlocked(reason); } } | public void setBlocked(IStatus reason) { JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) { listener.setBlocked(reason); } } | 3,226,899 |
public void setCanceled(boolean value) { JobInfo info = getJobInfo(job); //Don't bother cancelling twice if (value && !info.isCanceled()){ info.cancel(); //Only inform the first time if (listener != null) { listener.setCanceled(va... | public void setCanceled(boolean value) { JobInfo info = getJobInfo(job); //Don't bother cancelling twice if (value && !info.isCanceled()){ info.cancel(); //Only inform the first time if (listener != null) { listener.setCanceled(va... | 3,226,900 |
public void setCanceled(boolean value) { JobInfo info = getJobInfo(job); //Don't bother cancelling twice if (value && !info.isCanceled()){ info.cancel(); //Only inform the first time if (listener != null) { listener.setCanceled(va... | public void setCanceled(boolean value) { JobInfo info = getJobInfo(job); //Don't bother cancelling twice if (value && !info.isCanceled()){ info.cancel(); //Only inform the first time if (listener != null) { listener.setCanceled(va... | 3,226,901 |
public void setTaskName(String taskName) { JobInfo info = getJobInfo(job); if (info.hasTaskInfo()) { info.setTaskName(taskName); } else { beginTask(taskName, 100); return; } info.clearChildren(); refreshJobInfo(info); ... | public void setTaskName(String taskName) { JobInfo info = getJobInfo(job); if (info.hasTaskInfo()) { info.setTaskName(taskName); } else { beginTask(taskName, 100); return; } info.clearChildren(); refreshJobInfo(info); ... | 3,226,902 |
public void setTaskName(String taskName) { JobInfo info = getJobInfo(job); if (info.hasTaskInfo()) { info.setTaskName(taskName); } else { beginTask(taskName, 100); return; } info.clearChildren(); refreshJobInfo(info); ... | public void setTaskName(String taskName) { JobInfo info = getJobInfo(job); if (info.hasTaskInfo()) { info.setTaskName(taskName); } else { beginTask(taskName, 100); return; } info.clearChildren(); refreshJobInfo(info); ... | 3,226,903 |
public void setTaskName(String taskName) { JobInfo info = getJobInfo(job); if (info.hasTaskInfo()) { info.setTaskName(taskName); } else { beginTask(taskName, 100); return; } info.clearChildren(); refreshJobInfo(info); ... | public void setTaskName(String taskName) { JobInfo info = getJobInfo(job); if (info.hasTaskInfo()) { info.setTaskName(taskName); } else { beginTask(taskName, 100); return; } info.clearChildren(); refreshJobInfo(info); ... | 3,226,904 |
public void subTask(String name) { if (name == null || name.length() == 0) { return; } JobInfo info = getJobInfo(job); info.clearChildren(); info.addSubTask(name); refreshJobInfo(info); if (listener != null) { listener.subTask(name); } ... | public void subTask(String name) { if (name == null || name.length() == 0) { return; } JobInfo info = getJobInfo(job); info.clearChildren(); info.addSubTask(name); refreshJobInfo(info); if (listener != null) { listener.subTask(name); } ... | 3,226,905 |
public void subTask(String name) { if (name == null || name.length() == 0) { return; } JobInfo info = getJobInfo(job); info.clearChildren(); info.addSubTask(name); refreshJobInfo(info); if (listener != null) { listener.subTask(name); } ... | public void subTask(String name) { if (name == null || name.length() == 0) { return; } JobInfo info = getJobInfo(job); info.clearChildren(); info.addSubTask(name); refreshJobInfo(info); if (listener != null) { listener.subTask(name); } ... | 3,226,906 |
public void subTask(String name) { if (name == null || name.length() == 0) { return; } JobInfo info = getJobInfo(job); info.clearChildren(); info.addSubTask(name); refreshJobInfo(info); if (listener != null) { listener.subTask(name); } ... | public void subTask(String name) { if (name == null || name.length() == 0) { return; } JobInfo info = getJobInfo(job); info.clearChildren(); info.addSubTask(name); refreshJobInfo(info); if (listener != null) { listener.subTask(name); } ... | 3,226,907 |
public void worked(int work) { internalWorked(work); } | public void worked(int work) { internalWorked(work); } | 3,226,908 |
ProgressManager() { Platform.getJobManager().setProgressProvider(this); Dialog.setBlockedHandler(new WorkbenchDialogBlockedHandler()); createChangeListener(); Platform.getJobManager().addJobChangeListener(this.changeListener); URL iconsRoot = BundleUtility.find(PlatformUI.PLUGIN_I... | ProgressManager() { Platform.getJobManager().setProgressProvider(this); Dialog.setBlockedHandler(new WorkbenchDialogBlockedHandler()); createChangeListener(); Platform.getJobManager().addJobChangeListener(this.changeListener); URL iconsRoot = BundleUtility.find(PlatformUI.PLUGIN_I... | 3,226,909 |
public void addGroup(GroupInfo info) { synchronized (listenersKey) { for (int i = 0; i < listeners.length; i++) { listeners[i].addGroup(info); } } } | public void addGroup(GroupInfo info) { synchronized (listenersKey) { for (int i = 0; i < listeners.length; i++) { listeners[i].addGroup(info); } } } | 3,226,910 |
public void addJobInfo(JobInfo info) { GroupInfo group = info.getGroupInfo(); if (group != null) { refreshGroup(group); } jobs.put(info.getJob(), info); synchronized (listenersKey) { for (int i = 0; i < listeners.length; i++) { IJobProgressManagerListener listener = li... | public void addJobInfo(JobInfo info) { GroupInfo group = info.getGroupInfo(); if (group != null) { refreshGroup(group); } jobs.put(info.getJob(), info); synchronized (listenersKey) { for (int i = 0; i < listeners.length; i++) { IJobProgressManagerListener listener = li... | 3,226,911 |
public void addJobInfo(JobInfo info) { GroupInfo group = info.getGroupInfo(); if (group != null) { refreshGroup(group); } jobs.put(info.getJob(), info); synchronized (listenersKey) { for (int i = 0; i < listeners.length; i++) { IJobProgressManagerListener listener = li... | public void addJobInfo(JobInfo info) { GroupInfo group = info.getGroupInfo(); if (group != null) { refreshGroup(group); } jobs.put(info.getJob(), info); synchronized (listenersKey) { for (int i = 0; i < listeners.length; i++) { IJobProgressManagerListener listener = li... | 3,226,912 |
public void addJobInfo(JobInfo info) { GroupInfo group = info.getGroupInfo(); if (group != null) { refreshGroup(group); } jobs.put(info.getJob(), info); synchronized (listenersKey) { for (int i = 0; i < listeners.length; i++) { IJobProgressManagerListener listener = li... | public void addJobInfo(JobInfo info) { GroupInfo group = info.getGroupInfo(); if (group != null) { refreshGroup(group); } jobs.put(info.getJob(), info); synchronized (listenersKey) { for (int i = 0; i < listeners.length; i++) { IJobProgressManagerListener listener = li... | 3,226,913 |
void addListener(IJobProgressManagerListener listener) { synchronized (listenersKey){ ArrayList newListeners = new ArrayList(listeners.length + 1); for (int i = 0; i < listeners.length; i++) { newListeners.add(listeners[i]); } newListeners.add(listener); listeners = new IJobProgres... | void addListener(IJobProgressManagerListener listener) { synchronized (listenersKey){ ArrayList newListeners = new ArrayList(listeners.length + 1); for (int i = 0; i < listeners.length; i++) { newListeners.add(listeners[i]); } newListeners.add(listener); listeners = new IJobProgres... | 3,226,914 |
void addListener(IJobProgressManagerListener listener) { synchronized (listenersKey){ ArrayList newListeners = new ArrayList(listeners.length + 1); for (int i = 0; i < listeners.length; i++) { newListeners.add(listeners[i]); } newListeners.add(listener); listeners = new IJobProgres... | void addListener(IJobProgressManagerListener listener) { synchronized (listenersKey){ ArrayList newListeners = new ArrayList(listeners.length + 1); for (int i = 0; i < listeners.length; i++) { newListeners.add(listeners[i]); } newListeners.add(listener); listeners = new IJobProgres... | 3,226,915 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.