bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void panelCellMousePressed(final Cell cell, final MouseEvent e) { if (cell instanceof WestCell) { westListModel.setSelectedCell(cell); } if ((e.getClickCount() % 2) == 0) { tabDelegate.toggleExpansion(this); } }
public void panelCellMousePressed(final Cell cell, final MouseEvent e) { if (cell instanceof WestCell) { westListModel.setSelectedCell(cell); } if (!onIcon && e.getClickCount() % 2 == 0) { tabDelegate.toggleExpansion(this); } }
1,114,792
public void testGet() { try { Document document; for(Fixture datum : data) { document = datum.documentModel.get(datum.id); assertNotNull(document); assertEquals(datum.document, document); } } catch(Throwable t) { fail(getFailMessage(t)); } }
public void testGet() { try { Document document; for(Fixture datum : data) { document = datum.documentModel.get(datum.id); assertEquals(datum.document, document); } } catch(Throwable t) { fail(getFailMessage(t)); } }
1,114,793
public void airBrushReceiveMessage(Message msg) { // TODO Auto-generated method stub System.out.println("Receiving " + msg.type + " from AirBrush."); if (msg.type.equals("Story")) { System.out.println("Story content: " + msg.content); Story story; // Parse the X...
public boolean airBrushReceiveMessage(Message msg) { if (super.airBrushReceiveMessage(msg)) return true; // TODO Auto-generated method stub System.out.println("Receiving " + msg.type + " from AirBrush."); if (msg.type.equals("Story")) { System.out.println("Story content: " + msg.cont...
1,114,794
void delete(final Long documentId) throws ParityException { logger.info("[LMODEL] [DOCUMENT MODEL] [DELETE]"); logger.debug(documentId); assertOnline("[LMODEL] [DOCUMENT MODEL] [DELETE] [USER IS NOT ONLINE]"); final Document document = get(documentId); if(isClosed(document)) { deleteLocal(docume...
void delete(final Long documentId) throws ParityException { logger.info("[LMODEL] [DOCUMENT MODEL] [DELETE]"); logger.debug(documentId); assertOnline("[LMODEL] [DOCUMENT MODEL] [DELETE] [USER IS NOT ONLINE]"); final Document document = get(documentId); if(isClosed(document)) { deleteLocal(docume...
1,114,796
void reactivate(final Long documentId) throws ParityException { logger.info(getApiId("[REACTIVATE]")); assertIsClosed(getErrorId("[REACTIVATE]", "[CANNOT REACTIVATE A CLOSED DOCUMENT]"), get(documentId)); // update the local state final Document document = get(documentId); assertS...
void reactivate(final Long documentId) throws ParityException { logger.info(getApiId("[REACTIVATE]")); assertIsClosed(getErrorId("[REACTIVATE]", "[CANNOT REACTIVATE A CLOSED DOCUMENT]"), get(documentId)); // update the local state final Document document = get(documentId); assertS...
1,114,797
void reactivate(final Long documentId) throws ParityException { logger.info(getApiId("[REACTIVATE]")); assertIsClosed(getErrorId("[REACTIVATE]", "[CANNOT REACTIVATE A CLOSED DOCUMENT]"), get(documentId)); // update the local state final Document document = get(documentId); assertS...
void reactivate(final Long documentId) throws ParityException { logger.info(getApiId("[REACTIVATE]")); assertIsClosed(getErrorId("[REACTIVATE]", "[CANNOT REACTIVATE A CLOSED DOCUMENT]"), get(documentId)); // update the local state final Document document = get(documentId); assertS...
1,114,798
void send(final Collection<User> users, final Document document) throws ParityException { synchronized(xmppHelperLock) { assertIsLoggedIn("send(Collection<User>,Document)", xmppHelper); try { final DocumentModel documentModel = DocumentModel.getModel(); final DocumentContent content = documentModel.getCon...
void send(final Collection<User> users, final Document document) throws ParityException { synchronized(xmppHelperLock) { assertIsLoggedIn("send(Collection<User>,Document)", xmppHelper); try { final DocumentModel documentModel = DocumentModel.getModel(); final DocumentContent content = documentModel.getCon...
1,114,800
private Boolean isBrowserWindowMaximized() { return JFrame.MAXIMIZED_BOTH == mainWindow.getExtendedState(); }
public Boolean isBrowserWindowMaximized() { return JFrame.MAXIMIZED_BOTH == mainWindow.getExtendedState(); }
1,114,801
public void maximize() { if (isBrowserWindowMaximized()) { mainWindow.setExtendedState(JFrame.NORMAL); mainWindow.maximizeMainWindow(Boolean.FALSE); } else { mainWindow.setExtendedState(mainWindow.getExtendedState() | JFrame.MAXIMIZED_BOTH); /* This works......
public void maximize() { if (isBrowserWindowMaximized()) { mainWindow.setExtendedState(JFrame.NORMAL); mainWindow.maximizeMainWindow(Boolean.FALSE); } else { mainWindow.setExtendedState(mainWindow.getExtendedState() | JFrame.MAXIMIZED_BOTH); /* This works......
1,114,802
private void register(final Avatar avatar) { Assert.assertIsNull( "Avatar " + avatar.getId() + " already registerd.", avatarRegistry.put(avatar.getId(), avatar)); }
private void register(final Avatar avatar) { Assert.assertIsNull( "Avatar " + avatar.getId() + " already registered.", avatarRegistry.put(avatar.getId(), avatar)); }
1,114,803
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
1,114,804
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
1,114,805
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
1,114,806
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
1,114,807
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
1,114,808
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
1,114,809
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
private void initComponents() { explanationJLabel = new javax.swing.JLabel(); okJButton = new javax.swing.JButton(); cancelJButton = new javax.swing.JButton(); nameJLabel = new javax.swing.JLabel(); nameJTextField = new javax.swing.JTextField(); java.util.ResourceBundle bun...
1,114,810
public void addListener(final ArtifactListener listener) { xmppArtifact.addListener(listener); }
public void addListener(final ArtifactListener listener) { xmppArtifact.addListener(listener); }
1,114,811
public void clearListeners() { logger.logApiId(); synchronized (listeners) { listeners.clear(); } xmppArchive.clearListeners(); xmppArtifact.clearListeners(); xmppBackup.clearListeners(); xmppContact.clearListeners(); xmppContainer.clearListeners();...
public void clearListeners() { logger.logApiId(); synchronized (listeners) { listeners.clear(); } xmppArchive.clearListeners(); xmppArtifact.clearListeners(); xmppBackup.clearListeners(); xmppContact.clearListeners(); xmppContainer.clearListeners();...
1,114,812
public void logout() { logger.logApiId(); clearEventHandlers(); clearListeners(); xmppAnonymousConnection.close(); xmppAnonymousConnection = null; xmppConnection.close(); xmppConnection = null; }
public void logout() { logger.logApiId(); clearListeners(); xmppAnonymousConnection.close(); xmppAnonymousConnection = null; xmppConnection.close(); xmppConnection = null; }
1,114,813
public void removeListener(final ArtifactListener listener) { xmppArtifact.removeListener(listener); }
public void removeListener(final ArtifactListener listener) { xmppArtifact.removeListener(listener); }
1,114,814
private ProviderFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); this.artifactModel = modelFactory.getArtifactModel(getClass()); this.dModel = modelFactory.getDocumentModel(getClass()); this.logger = ModelLoggerFactory.getLogger(getClass()); this.loggedInUser = JabberIdBuilder...
private ProviderFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); this.artifactModel = modelFactory.getArtifactModel(getClass()); this.dModel = modelFactory.getDocumentModel(getClass()); this.logger = ModelLoggerFactory.getLogger(getClass()); this.loggedInUser = JabberIdBuilder...
1,114,815
public int compare(final User o1, final User o2) { final int compareResult = o1.getOrganization().compareTo(o2.getOrganization()); if(0 == compareResult) { return subCompare(o1, o2); } else { return compareResult * resultMultiplier; } }
public int compare(final User o1, final User o2) { final int compareResult = o1.getOrganization().compareTo(o2.getOrganization()); if(0 == compareResult) { return subCompare(o1, o2); } else { return compareResult * resultMultiplier; } }
1,114,816
public Applet() { EarthViewWrapper evw = new EarthViewWrapper("Applet", "localhost", 10000); Container mainpane = this.getContentPane(); mainpane.setBackground(Color.black); mainpane.add(evw.earthView); this.setVisible(true); evw.start(); }
public Applet() { evw = new EarthViewWrapper("Applet", "luijten.local", 10000); Container mainpane = this.getContentPane(); mainpane.setBackground(Color.black); mainpane.add(evw.earthView); this.setVisible(true); evw.start(); }
1,114,817
public Applet() { EarthViewWrapper evw = new EarthViewWrapper("Applet", "localhost", 10000); Container mainpane = this.getContentPane(); mainpane.setBackground(Color.black); mainpane.add(evw.earthView); this.setVisible(true); evw.start(); }
public Applet() { EarthViewWrapper evw = new EarthViewWrapper("Applet", "localhost", 10000); Container mainpane = this.getContentPane(); mainpane.setBackground(Color.black); mainpane.add(evw.earthView); this.setVisible(true); }
1,114,818
private void processOfflineQueue() { assertIsReachable(environment); XMPPSession session = null; try { session = new XMPPSessionImpl(); session.login(environment, credentials); session.processOfflineQueue(session.readCurrentUser().getId()); } catch (final...
private void processOfflineQueue() { assertIsReachable(environment); XMPPSession session = null; try { session = new XMPPSessionImpl(); session.login(environment, credentials); session.processOfflineQueue(session.readCurrentUser().getId()); } catch (final...
1,114,819
private void processOfflineQueue() { assertIsReachable(environment); XMPPSession session = null; try { session = new XMPPSessionImpl(); session.login(environment, credentials); session.processOfflineQueue(session.readCurrentUser().getId()); } catch (final...
private void processOfflineQueue() { assertIsReachable(environment); XMPPSession session = null; try { session = new XMPPSessionImpl(); session.login(environment, credentials); session.processOfflineQueue(session.readCurrentUser().getId()); } catch (final...
1,114,820
public void close() throws IOException { isReader.close(); }
public void close() throws IOException { try { if(DEBUG) os.println(PREFIX + "isReader.close()"); isReader.close(); } catch(IOException ioe) { if(DEBUG) ioe.printStackTrace(); throw ioe; } catch(RuntimeException e) { if(DEBUG) e.printStackTrace(); throw e; } }
1,114,822
public void mark(int readAheadLimit) throws IOException { isReader.mark(readAheadLimit); }
public void mark(int readAheadLimit) throws IOException { try { if(DEBUG) os.println(PREFIX + "isReader.mark(" + readAheadLimit + ")"); isReader.mark(readAheadLimit); } catch(IOException ioe) { if(DEBUG) ioe.printStackTrace(); throw ioe; } catch(RuntimeException e) { if(DEBUG) e.printStackTrace(); throw e; } }
1,114,823
public boolean markSupported() { return isReader.markSupported(); }
public boolean markSupported() { try { boolean result = isReader.markSupported(); if(DEBUG) os.println(PREFIX + "isReader.markSupported() == " + result); return result; } catch(RuntimeException e) { if(DEBUG) e.printStackTrace(); throw e; } }
1,114,824
public int read() throws IOException { return isReader.read(); }
public int read() throws IOException { try { int result = isReader.read(); if(DEBUG) os.println(PREFIX + "isReader.read() == " + result); return result; } catch(IOException ioe) { if(DEBUG) ioe.printStackTrace(); throw ioe; } catch(RuntimeException e) { if(DEBUG) e.printStackTrace(); throw e; } }
1,114,825
public boolean ready() throws IOException { return isReader.ready(); }
public boolean ready() throws IOException { try { boolean result = isReader.ready(); if(DEBUG) os.println(PREFIX + "isReader.ready() == " + result); return result; } catch(IOException ioe) { if(DEBUG) ioe.printStackTrace(); throw ioe; } catch(RuntimeException e) { if(DEBUG) e.printStackTrace(); throw e; } }
1,114,826
public void reset() throws IOException { isReader.reset(); }
public void reset() throws IOException { try { if(DEBUG) os.println(PREFIX + "isReader.reset()"); isReader.reset(); } catch(IOException ioe) { if(DEBUG) ioe.printStackTrace(); throw ioe; } catch(RuntimeException e) { if(DEBUG) e.printStackTrace(); throw e; } }
1,114,827
public long skip(long n) throws IOException { return isReader.skip(n); }
public long skip(long n) throws IOException { try { long result = isReader.skip(n); if(DEBUG) os.println(PREFIX + "isReader.skip(" + n + ") == " + result); return result; } catch(IOException ioe) { if(DEBUG) ioe.printStackTrace(); throw ioe; } catch(RuntimeException e) { if(DEBUG) e.printStackTrace(); throw e; } }
1,114,828
final public String encodingDecl() throws ParseException { Token encoding; jj_consume_token(XMLDECL_S); jj_consume_token(ENCODING); jj_consume_token(XMLDECL_EQ); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case XD_SQUOTE_OPEN: jj_consume_token(XD_SQUOTE_OPEN); encoding = jj_consume_token(X...
final public String encodingDecl() throws ParseException { Token encoding; jj_consume_token(XMLDECL_S); jj_consume_token(ENCODING); jj_consume_token(XMLDECL_EQ); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case XD_SQUOTE_OPEN: jj_consume_token(XD_SQUOTE_OPEN); encoding = jj_consume_token(X...
1,114,829
public static void main(String[] args) throws Exception { MutableInputStreamReader usedReader; if(args.length == 1) usedReader = new MutableInputStreamReader(new FileInputStream(args[0]), "US-ASCII"); else usedReader = new MutableInputStreamReader(System.in, "US-ASCII"); ...
public static void main(String[] args) throws Exception { MutableInputStreamReader usedReader; if(args.length == 1) usedReader = new MutableInputStreamReader(new FileInputStream(args[0]), "US-ASCII"); else usedReader = new MutableInputStreamReader(System.in, "US-ASCII"); ...
1,114,830
final public void xmlDecl() throws ParseException { String version, encoding = null; Boolean standalone = null; jj_consume_token(STARTXMLDECL); // Takes us to state WithinXMLDecl version = versionInfo(); if (jj_2_1(2)) { encoding = encodingDecl(); } else { ; } if (...
final public String xmlDecl() throws ParseException { String version, encoding = null; Boolean standalone = null; jj_consume_token(STARTXMLDECL); // Takes us to state WithinXMLDecl version = versionInfo(); if (jj_2_1(2)) { encoding = encodingDecl(); } else { ; } if...
1,114,831
final public void xmlDecl() throws ParseException { String version, encoding = null; Boolean standalone = null; jj_consume_token(STARTXMLDECL); // Takes us to state WithinXMLDecl version = versionInfo(); if (jj_2_1(2)) { encoding = encodingDecl(); } else { ; } if (...
final public void xmlDecl() throws ParseException { String version, encoding = null; Boolean standalone = null; jj_consume_token(STARTXMLDECL); // Takes us to state WithinXMLDecl version = versionInfo(); if (jj_2_1(2)) { encoding = encodingDecl(); } else { ; } if (...
1,114,832
public File[] listFiles(final String path, final Boolean doRecurse) { final File file = resolve(path); if(null == file) { return null; } else if(file.isFile()) { return null; } else { if(doRecurse) { return listFiles(file).toArray(new File[] {}); } else { ...
public File[] listFiles(final String path, final Boolean doRecurse) { final File file = resolve(path); if(null == file) { return null; } else if(file.isFile()) { return null; } else { if(doRecurse) { return listFiles(file).toArray(new File[] {}); } else { ...
1,114,833
protected InternalAuditModel getInternalAuditModel() { final InternalAuditModel iAModel = InternalAuditModel.getInternalModel(context); return iAModel; }
protected InternalAuditModel getInternalAuditModel() { final InternalAuditModel iAModel = InternalAuditModel.getInternalModel(context); return iAModel; }
1,114,834
protected InternalDocumentModel getInternalDocumentModel() { final InternalDocumentModel iDocumentModel = DocumentModel.getInternalModel(getContext()); return iDocumentModel; }
protected InternalDocumentModel getInternalDocumentModel() { final InternalDocumentModel iDocumentModel = DocumentModel.getInternalModel(getContext()); return iDocumentModel; }
1,114,835
protected InternalSessionModel getInternalSessionModel() { final InternalSessionModel iSessionModel = SessionModel.getInternalModel(getContext()); return iSessionModel; }
protected InternalSessionModel getInternalSessionModel() { final InternalSessionModel iSessionModel = SessionModel.getInternalModel(getContext()); return iSessionModel; }
1,114,836
void addDocument(final Long containerId, final Long documentId) { logger.logApiId(); logger.logVariable("containerId", containerId); logger.logVariable("documentId", documentId); assertDraftExists("DRAFT DOES NOT EXIST", containerId); containerIO.createDraftArtifactRel(containerId...
void addDocument(final Long containerId, final Long documentId) { logger.logApiId(); logger.logVariable("containerId", containerId); logger.logVariable("documentId", documentId); assertDraftExists("DRAFT DOES NOT EXIST", containerId); containerIO.createDraftArtifactRel(containerId...
1,114,837
ContainerDraft createDraft(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); assertContainerDraftDoesNotExist("Draft already exist.", containerId); if (isFirstDraft(containerId)) { createFirstDraft(containerId, localTeamMember(contain...
ContainerDraft createDraft(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); assertContainerDraftDoesNotExist("Draft already exist.", containerId); if (isFirstDraft(containerId)) { createFirstDraft(containerId, localTeamMember(contain...
1,114,838
ContainerDraft createDraft(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); assertContainerDraftDoesNotExist("Draft already exist.", containerId); if (isFirstDraft(containerId)) { createFirstDraft(containerId, localTeamMember(contain...
ContainerDraft createDraft(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); assertContainerDraftDoesNotExist("Draft already exist.", containerId); if (isFirstDraft(containerId)) { createFirstDraft(containerId, localTeamMember(contain...
1,114,839
ContainerDraft createDraft(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); assertContainerDraftDoesNotExist("Draft already exist.", containerId); if (isFirstDraft(containerId)) { createFirstDraft(containerId, localTeamMember(contain...
ContainerDraft createDraft(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); assertContainerDraftDoesNotExist("Draft already exist.", containerId); if (isFirstDraft(containerId)) { createFirstDraft(containerId, localTeamMember(contain...
1,114,840
void deleteDraft(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); assertDoesExistLocalDraft("Draft does not exist.", containerId); final Container container = read(containerId); if (!isFirstDraft(container.getId())) { assertOn...
void deleteDraft(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); assertDoesExistLocalDraft("Draft does not exist.", containerId); final Container container = read(containerId); if (!isFirstDraft(container.getId())) { assertOn...
1,114,841
void deleteDraft(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); assertDoesExistLocalDraft("Draft does not exist.", containerId); final Container container = read(containerId); if (!isFirstDraft(container.getId())) { assertOn...
void deleteDraft(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); assertDoesExistLocalDraft("Draft does not exist.", containerId); final Container container = read(containerId); if (!isFirstDraft(container.getId())) { assertOn...
1,114,842
void handleArtifactPublished(final UUID uniqueId, final Long versionId, final String name, final UUID artifactUniqueId, final Long artifactVersionId, final String artifactName, final ArtifactType artifactType, final String artifactChecksum, final String artifactStreamId, ...
void handleArtifactPublished(final UUID uniqueId, final Long versionId, final String name, final UUID artifactUniqueId, final Long artifactVersionId, final String artifactName, final ArtifactType artifactType, final String artifactChecksum, final String artifactStreamId, ...
1,114,843
void handleDraftCreated(final Long containerId, final JabberId createdBy, final Calendar createdOn) { logger.logApiId(); logger.logVariable("containerId", containerId); logger.logVariable("createdBy", createdBy); logger.logVariable("createdOn", createdOn); final Contain...
void handleDraftCreated(final Long containerId, final JabberId createdBy, final Calendar createdOn) { logger.logApiId(); logger.logVariable("containerId", containerId); logger.logVariable("createdBy", createdBy); logger.logVariable("createdOn", createdOn); final Contain...
1,114,845
void handleDraftDeleted(final Long containerId, final JabberId deletedBy, final Calendar deletedOn) { logger.logApiId(); logger.logVariable("containerId", containerId); logger.logVariable("createdBy", deletedBy); logger.logVariable("createdOn", deletedOn); final Contain...
void handleDraftDeleted(final Long containerId, final JabberId deletedBy, final Calendar deletedOn) { logger.logApiId(); logger.logVariable("containerId", containerId); logger.logVariable("createdBy", deletedBy); logger.logVariable("createdOn", deletedOn); final Contain...
1,114,846
void handleDraftDeleted(final Long containerId, final JabberId deletedBy, final Calendar deletedOn) { logger.logApiId(); logger.logVariable("containerId", containerId); logger.logVariable("createdBy", deletedBy); logger.logVariable("createdOn", deletedOn); final Contain...
void handleDraftDeleted(final Long containerId, final JabberId deletedBy, final Calendar deletedOn) { logger.logApiId(); logger.logVariable("containerId", containerId); logger.logVariable("createdBy", deletedBy); logger.logVariable("createdOn", deletedOn); final Contain...
1,114,847
void handlePublished(final UUID uniqueId, final Long versionId, final String name, final Integer artifactCount, final JabberId publishedBy, final List<JabberId> publishedTo, final Calendar publishedOn) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); ...
void handlePublished(final UUID uniqueId, final Long versionId, final String name, final Integer artifactCount, final JabberId publishedBy, final List<JabberId> publishedTo, final Calendar publishedOn) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); ...
1,114,848
void handlePublished(final UUID uniqueId, final Long versionId, final String name, final Integer artifactCount, final JabberId publishedBy, final List<JabberId> publishedTo, final Calendar publishedOn) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); ...
void handlePublished(final UUID uniqueId, final Long versionId, final String name, final Integer artifactCount, final JabberId publishedBy, final List<JabberId> publishedTo, final Calendar publishedOn) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); ...
1,114,849
void handlePublished(final UUID uniqueId, final Long versionId, final String name, final Integer artifactCount, final JabberId publishedBy, final List<JabberId> publishedTo, final Calendar publishedOn) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); ...
void handlePublished(final UUID uniqueId, final Long versionId, final String name, final Integer artifactCount, final JabberId publishedBy, final List<JabberId> publishedTo, final Calendar publishedOn) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); ...
1,114,850
void handleReceived(final Long containerId, final Long versionId, final JabberId receivedBy, final Calendar receivedOn) { logger.logApiId(); logger.logVariable("containerId", containerId); logger.logVariable("versionId", versionId); logger.logVariable("receivedBy", receivedBy)...
void handleReceived(final Long containerId, final Long versionId, final JabberId receivedBy, final Calendar receivedOn) { logger.logApiId(); logger.logVariable("containerId", containerId); logger.logVariable("versionId", versionId); logger.logVariable("receivedBy", receivedBy)...
1,114,851
public UnsubscribeUser() { super(IQAction.UNSUBSCRIBEUSER); }
public UnsubscribeUser() { super("unsubscribeuser"); }
1,114,852
private void displayMainBrowserAvatar() { getController().displayMainBrowserAvatar(); }
private void displayMainBrowserAvatar(final Boolean doReload) { if(doReload) { getController().reloadMainBrowserAvatar(); } getController().displayMainBrowserAvatar(); }
1,114,853
private void sendJButtonActionPerformed(java.awt.event.ActionEvent evt) { if(isInputValid()) { final Long documentId = extractDocumentId(); final List<User> users = extractTeam(); users.addAll(extractContacts()); final Boolean doIncludeKey = extractDoIncludeKey(); toggleVisualFeedback(Boolean.TRUE); try {...
private void sendJButtonActionPerformed(java.awt.event.ActionEvent evt) { if(isInputValid()) { final Long documentId = extractDocumentId(); final List<User> users = extractTeam(); users.addAll(extractContacts()); final Boolean doIncludeKey = extractDoIncludeKey(); toggleVisualFeedback(Boolean.TRUE); try {...
1,114,854
SessionModelXMPPHelper() { super(); this.xmppSession = XMPPSessionFactory.createSession(); this.xmppExtensionListener = new XMPPExtensionListener() { public void artifactClosed(final UUID artifactUniqueId) { handleArtifactClosed(artifactUniqueId); } public void documentReceived(final XMPPDocument xmppDocum...
SessionModelXMPPHelper() { super(); this.xmppSession = XMPPSessionFactory.createSession(); this.xmppExtensionListener = new XMPPExtensionListener() { public void artifactClosed(final UUID artifactUniqueId) { handleArtifactClosed(artifactUniqueId); } public void documentReceived(final XMPPDocument xmppDocum...
1,114,855
public void artifactClosed(final UUID artifactUniqueId) { handleArtifactClosed(artifactUniqueId); }
public void artifactClosed(final UUID artifactUniqueId) { handleArtifactClosed(artifactUniqueId); }
1,114,856
private void handleArtifactClosed(final UUID artifactUniqueId) { SessionModelImpl.notifyArtifactClosed(artifactUniqueId); }
private void handleArtifactClosed(final UUID artifactUniqueId) { SessionModelImpl.notifyArtifactClosed(artifactUniqueId); }
1,114,857
private List<JabberId> readTeamIds(final JabberId userId, final UUID uniqueId) { return getArchiveModel().readTeam(userId, uniqueId); }
private List<JabberId> readTeamIds(final JabberId userId, final UUID uniqueId) { return getArchiveModel().readTeamIds(userId, uniqueId); }
1,114,858
private List<DocumentVersion> readArchiveDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { return getContainerModel().readArchiveDocumentVersions(userId, uniqueId, versionId, documentUniqueId); }
private List<DocumentVersion> readArchiveDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { return getContainerModel().readArchiveDocumentVersions(userId, uniqueId, versionId, documentUniqueId); }
1,114,859
private List<DocumentVersion> readArchiveDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { return getContainerModel().readArchiveDocumentVersions(userId, uniqueId, versionId, documentUniqueId); }
private List<DocumentVersion> readArchiveDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { return getContainerModel().readArchiveDocumentVersions(userId, uniqueId, versionId); }
1,114,860
public void service() { logApiId(); final List<DocumentVersion> versions = readArchiveDocumentVersions( readJabberId("userId"), readUUID("uniqueId"), readLong("versionId"), readUUID("documentUniqueId")); writeDocumentVersions("documentVersions", "documentVersion", ...
public void service() { logApiId(); final List<DocumentVersion> versions = readArchiveDocumentVersions( readJabberId("userId"), readUUID("uniqueId"), readLong("versionId")); writeDocumentVersions("documentVersions", "documentVersion", versions); }
1,114,861
private void initComponents() { confirmJButton = ButtonFactory.create(getString("ConfirmButton")); denyJButton = ButtonFactory.create(getString("DenyButton")); confirmMessageJTextArea = TextFactory.createArea(); setBackground(new java.awt.Color(255, 255, 255)); confirmJButton.addA...
private void initComponents() { confirmJButton = ButtonFactory.create(getString("ConfirmButton")); denyJButton = ButtonFactory.create(getString("DenyButton")); confirmMessageJTextArea = TextFactory.createArea(); confirmJButton.setText("!Yes!"); confirmJButton.addActionListener(new...
1,114,862
private ModelTestUser(final String password, final String serverHost, final Integer serverPort, final String username) { super(); this.password = password; this.serverHost = serverHost; this.serverPort = serverPort; this.username = username; }
private ModelTestUser(final String password, final String serverHost, final Integer serverPort, final String username) { super(); this.password = password; this.serverHost = serverHost; this.serverPort = serverPort; this.username = username; }
1,114,864
public Boolean extractSavePassword() { return SwingUtil.extract(savePasswordJCheckBox); }
public Boolean extractSavePassword() { return SwingUtil.extract(savePasswordJCheckBox); }
1,114,866
private void hideConnectionInfo() { infoJLabel.setText(""); }
private void hideConnectionInfo() { }
1,114,867
private void initComponents() { javax.swing.JButton cancelJButton; javax.swing.JButton loginJButton; javax.swing.JLabel passwordJLabel; javax.swing.JLabel usernameJLabel; usernameJLabel = LabelFactory.create(getString("UsernameLabel")); usernameJTextField = TextFactory.crea...
private void initComponents() { javax.swing.JButton cancelJButton; javax.swing.JButton loginJButton; javax.swing.JLabel passwordJLabel; javax.swing.JLabel usernameJLabel; usernameJLabel = LabelFactory.create(getString("UsernameLabel")); usernameJTextField = TextFactory.crea...
1,114,868
private void initComponents() { javax.swing.JButton cancelJButton; javax.swing.JButton loginJButton; javax.swing.JLabel passwordJLabel; javax.swing.JLabel usernameJLabel; usernameJLabel = LabelFactory.create(getString("UsernameLabel")); usernameJTextField = TextFactory.crea...
private void initComponents() { javax.swing.JButton cancelJButton; javax.swing.JButton loginJButton; javax.swing.JLabel passwordJLabel; javax.swing.JLabel usernameJLabel; usernameJLabel = LabelFactory.create(getString("UsernameLabel")); usernameJTextField = TextFactory.crea...
1,114,869
private void initComponents() { javax.swing.JButton cancelJButton; javax.swing.JButton loginJButton; javax.swing.JLabel passwordJLabel; javax.swing.JLabel usernameJLabel; usernameJLabel = LabelFactory.create(getString("UsernameLabel")); usernameJTextField = TextFactory.crea...
private void initComponents() { javax.swing.JButton cancelJButton; javax.swing.JButton loginJButton; javax.swing.JLabel passwordJLabel; javax.swing.JLabel usernameJLabel; usernameJLabel = LabelFactory.create(getString("UsernameLabel")); usernameJTextField = TextFactory.crea...
1,114,870
private void initComponents() { javax.swing.JButton cancelJButton; javax.swing.JButton loginJButton; javax.swing.JLabel passwordJLabel; javax.swing.JLabel usernameJLabel; usernameJLabel = LabelFactory.create(getString("UsernameLabel")); usernameJTextField = TextFactory.crea...
private void initComponents() { javax.swing.JButton cancelJButton; javax.swing.JButton loginJButton; javax.swing.JLabel passwordJLabel; javax.swing.JLabel usernameJLabel; usernameJLabel = LabelFactory.create(getString("UsernameLabel")); usernameJTextField = TextFactory.crea...
1,114,871
public void reload() { if(getPreferences().isSetUsername()) { usernameJTextField.setText(getPreferences().getUsername()); usernameJTextField.setEnabled(false); } else { usernameJTextField.setEnabled(true); } if(containsErrors()) { infoJLabel.setText(extractErrorMessage()); clearErrors(); } }
public void reload() { if(getPreferences().isSetUsername()) { usernameJTextField.setText(getPreferences().getUsername()); usernameJTextField.setEnabled(false); } else { usernameJTextField.setEnabled(true); } if(containsErrors()) { clearErrors(); } }
1,114,872
private void showConnectionInfo() { final StringBuffer buffer = new StringBuffer(getPreferences().getServerHost()) .append(":") .append(getPreferences().getServerPort()) .append(" ") .append(com.thinkparity.browser.Version.getVersion()) .append(" ") .append(com.thinkp...
private void showConnectionInfo() { final StringBuffer buffer = new StringBuffer(getPreferences().getServerHost()) .append(":") .append(getPreferences().getServerPort()) .append(" ") .append(com.thinkparity.browser.Version.getVersion()) .append(" ") .append(com.thinkp...
1,114,873
public void run() { window.open(avatar); }
public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId, Boolean.TRUE); }
1,114,874
public void fireDocumentCreated(final Long documentId) { SwingUtilities.invokeLater(new Runnable() { public void run() { ((BrowserInfoAvatar) avatarRegistry.get(AvatarId.BROWSER_INFO)).reload(); } }); reloadMainList(); }
public void fireDocumentCreated(final Long documentId) { SwingUtilities.invokeLater(new Runnable() { public void run() { ((BrowserInfoAvatar) avatarRegistry.get(AvatarId.BROWSER_INFO)).reload(); } }); SwingUtilities.invokeLater(new Runnable() { public void run() { ((BrowserMainAvatar) avatarRegistry.get(Avat...
1,114,875
public void run() { ((BrowserInfoAvatar) avatarRegistry.get(AvatarId.BROWSER_INFO)).reload(); }
public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).applyFilter(filter); }
1,114,876
public void fireDocumentDeleted(final Long documentId) { SwingUtilities.invokeLater(new Runnable() { public void run() { ((BrowserInfoAvatar) avatarRegistry.get(AvatarId.BROWSER_INFO)).reload(); } }); // refresh the document main list SwingUtilities.invokeLater(new Runnable() { public void run() { ((Br...
public void fireDocumentDeleted(final Long documentId) { SwingUtilities.invokeLater(new Runnable() { public void run() { ((BrowserInfoAvatar) avatarRegistry.get(AvatarId.BROWSER_INFO)).reload(); } }); // refresh the document main list SwingUtilities.invokeLater(new Runnable() { public void run() { ((Br...
1,114,877
public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId); }
public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId, Boolean.FALSE); }
1,114,878
public void fireDocumentReceived(final Long documentId) { // refresh the document main list SwingUtilities.invokeLater(new Runnable() { public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId); } }); }
public void fireDocumentReceived(final Long documentId) { // refresh the document main list SwingUtilities.invokeLater(new Runnable() { public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId, Boolean.TRUE); } }); }
1,114,879
public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId); }
public void run() { ((BrowserInfoAvatar) avatarRegistry.get(AvatarId.BROWSER_INFO)).reload(); }
1,114,880
public void fireDocumentUpdated(final Long documentId) { // refresh the document in the main list SwingUtilities.invokeLater(new Runnable() { public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId); } }); }
public void fireDocumentUpdated(final Long documentId) { // refresh the document in the main list SwingUtilities.invokeLater(new Runnable() { public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId); } }); }
1,114,881
public void runAcceptContactInvitation(final Long systemMessageId) { final Data data = new Data(1); data.set(AcceptInvitation.DataKey.SYSTEM_MESSAGE_ID, systemMessageId); invoke(ActionId.SESSION_ACCEPT_INVITATION, data); reloadMainList(); }
public void runAcceptContactInvitation(final Long systemMessageId) { final Data data = new Data(1); data.set(AcceptInvitation.DataKey.SYSTEM_MESSAGE_ID, systemMessageId); invoke(ActionId.SESSION_ACCEPT_INVITATION, data); }
1,114,882
public void runDeclineAllKeyRequests(final Long artifactId) { final Data data = new Data(1); data.set(DeclineAllKeyRequests.DataKey.ARTIFACT_ID, artifactId); invoke(ActionId.ARTIFACT_DECLINE_ALL_KEY_REQUESTS, data); reloadMainList(); }
public void runDeclineAllKeyRequests(final Long artifactId) { final Data data = new Data(1); data.set(DeclineAllKeyRequests.DataKey.ARTIFACT_ID, artifactId); invoke(ActionId.ARTIFACT_DECLINE_ALL_KEY_REQUESTS, data); }
1,114,883
public void runDeleteSystemMessage(final Long systemMessageId) { final Data data = new Data(1); data.set(DeleteSystemMessage.DataKey.SYSTEM_MESSAGE_ID, systemMessageId); invoke(ActionId.SYSTEM_MESSAGE_DELETE, data); reloadMainList(); }
public void runDeleteSystemMessage(final Long systemMessageId) { final Data data = new Data(1); data.set(DeleteSystemMessage.DataKey.SYSTEM_MESSAGE_ID, systemMessageId); invoke(ActionId.SYSTEM_MESSAGE_DELETE, data); }
1,114,884
public void toggleHistory3Avatar() { if(null == history2Window) { final Avatar avatar = getAvatar(AvatarId.DOCUMENT_HISTORY3); if(null != getAvatarInput(AvatarId.DOCUMENT_HISTORY3)) avatar.setInput(getAvatarInput(AvatarId.DOCUMENT_HISTORY3)); history2Window = new History2Window(mainWindow, avatar); hist...
public void toggleHistory3Avatar() { if(null == history2Window) { final Avatar avatar = getAvatar(AvatarId.DOCUMENT_HISTORY3); if(null != getAvatarInput(AvatarId.DOCUMENT_HISTORY3)) avatar.setInput(getAvatarInput(AvatarId.DOCUMENT_HISTORY3)); history2Window = new History2Window(mainWindow, avatar); hist...
1,114,885
public IQ handleIQ(final IQ iq) throws UnauthorizedException { synchronized (AbstractHandler.SERIALIZER) { this.userModel = UserModel.getModel(); return logVariable("response", super.handleIQ(logVariable("iq", iq))); } }
public IQ handleIQ(final IQ iq) throws UnauthorizedException { synchronized (AbstractHandler.SERIALIZER) { this.userModel = UserModel.getModel(); return logVariable("response", super.handleIQ(logVariable("iq", iq))); } }
1,114,888
public IQ handleIQ(final IQ iq) throws UnauthorizedException { synchronized (SERIALIZER) { this.session = SessionUtil.getInstance().createSession(iq); this.archiveModel = ArchiveModel.getModel(session); this.artifactModel = ArtifactModel.getModel(session); this.bac...
public IQ handleIQ(final IQ iq) throws UnauthorizedException { synchronized (SERIALIZER) { this.session = SessionUtil.getInstance().createSession(iq); this.archiveModel = ArchiveModel.getModel(session); this.artifactModel = ArtifactModel.getModel(session); this.bac...
1,114,889
public IQ handleIQ(final IQ iq) throws UnauthorizedException { synchronized (SERIALIZER) { this.session = SessionUtil.getInstance().createSession(iq); this.archiveModel = ArchiveModel.getModel(session); this.artifactModel = ArtifactModel.getModel(session); this.bac...
public IQ handleIQ(final IQ iq) throws UnauthorizedException { synchronized (SERIALIZER) { this.session = SessionUtil.getInstance().createSession(iq); this.archiveModel = ArchiveModel.getModel(session); this.artifactModel = ArtifactModel.getModel(session); this.bac...
1,114,890
private void readIndex(final Index index, final HierarchicalStreamReader reader, final UnmarshallingContext context) { while(reader.hasMoreChildren()) { reader.moveDown(); index.addLookup( UUID.fromString(reader.getAttribute("id")), new File(reader.getAttribute("xmlFile"))); reader.moveUp(); } }
private void readIndex(final Index index, final HierarchicalStreamReader reader, final UnmarshallingContext context) { while(reader.hasMoreChildren()) { reader.moveDown(); index.addXmlFileLookup( UUID.fromString(reader.getAttribute("id")), new File(reader.getAttribute("xmlFile"))); reader.moveUp(); ...
1,114,892
public void containerDeleted(ContainerEvent e) { didNotify = Boolean.TRUE; assertTrue(NAME + " [EVENT GENERATED IS NOT LOCAL]", e.isLocal()); assertTrue(NAME + " [EVENT GENERATED IS REMOTE]", !e.isRemote()); assertNull(NAME + " [EVENT CONTAINER IS NOT NULL]", e.getCon...
public void containerDeleted(ContainerEvent e) { didNotify = Boolean.TRUE; assertTrue(NAME + " [EVENT GENERATED IS NOT LOCAL]", e.isLocal()); assertTrue(NAME + " [EVENT GENERATED IS REMOTE]", !e.isRemote()); assertNotNull(NAME + " [EVENT CONTAINER IS NOT NULL]", e.get...
1,114,893
protected void setUp() throws Exception { super.setUp(); final Document document = createDocument(OpheliaTestUser.JUNIT, getInputFiles()[0]); modifyDocument(OpheliaTestUser.JUNIT, document); datum = new Fixture(getDocumentModel(OpheliaTestUser.JUNIT), document.getId(), Boolean.TRUE); ...
protected void setUp() throws Exception { super.setUp(); final Document document = createDocument(OpheliaTestUser.JUNIT, getInputFiles()[0]); modifyDocument(OpheliaTestUser.JUNIT, document.getId()); datum = new Fixture(getDocumentModel(OpheliaTestUser.JUNIT), document.getId(), Boolean.TR...
1,114,894
private ProviderFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); this.artifactModel = modelFactory.getArtifactModel(getClass()); this.dModel = modelFactory.getDocumentModel(getClass()); this.logger = ModelLoggerFactory.getLogger(getClass()); this.loggedInUser = JabberIdBuilder...
private ProviderFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); this.artifactModel = modelFactory.getArtifactModel(getClass()); this.dModel = modelFactory.getDocumentModel(getClass()); this.logger = ModelLoggerFactory.getLogger(getClass()); this.loggedInUser = JabberIdBuilder...
1,114,895
private ProviderFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); this.artifactModel = modelFactory.getArtifactModel(getClass()); this.dModel = modelFactory.getDocumentModel(getClass()); this.logger = ModelLoggerFactory.getLogger(getClass()); this.loggedInUser = JabberIdBuilder...
private ProviderFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); this.artifactModel = modelFactory.getArtifactModel(getClass()); this.dModel = modelFactory.getDocumentModel(getClass()); this.logger = ModelLoggerFactory.getLogger(getClass()); this.loggedInUser = JabberIdBuilder...
1,114,896
private ProviderFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); this.artifactModel = modelFactory.getArtifactModel(getClass()); this.dModel = modelFactory.getDocumentModel(getClass()); this.logger = ModelLoggerFactory.getLogger(getClass()); this.loggedInUser = JabberIdBuilder...
private ProviderFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); this.artifactModel = modelFactory.getArtifactModel(getClass()); this.dModel = modelFactory.getDocumentModel(getClass()); this.logger = ModelLoggerFactory.getLogger(getClass()); this.loggedInUser = JabberIdBuilder...
1,114,897
void receive(final XMPPDocument xmppDocument) throws ParityException { logger.info("receiveDocument(XMPPDocument)"); logger.debug(xmppDocument); try { /* * Obtain the inbox parity project within the workspace, and place * the received document within it, the notify all listeners about * the new documen...
void receive(final XMPPDocument xmppDocument) throws ParityException { logger.info("receiveDocument(XMPPDocument)"); logger.debug(xmppDocument); try { /* * Obtain the inbox parity project within the workspace, and place * the received document within it, the notify all listeners about * the new documen...
1,114,898
public int compare(final User o1, final User o2) { final int compareResult = o1.getName().compareTo(o2.getName()); if(0 == compareResult) { return subCompare(o1, o2); } else { return compareResult * resultMultiplier; } }
public int compare(final User o1, final User o2) { final int compareResult = o1.getName().compareTo(o2.getName()); if(0 == compareResult) { return subCompare(o1, o2); } else { return compareResult * resultMultiplier; } }
1,114,899
public boolean canImport(final JComponent comp, final DataFlavor[] transferFlavors) { logger.debug(comp.getClass().getSimpleName()); // when updating a document; only 1 file must be imported if(1 == transferFlavors.length) { if(TxUtils.containsJavaFileList(transferFlavors)...
public boolean canImport(final JComponent comp, final DataFlavor[] transferFlavors) { logger.debug(comp.getClass().getSimpleName()); // when updating a document; only 1 file must be imported if(1 == transferFlavors.length) { if(TxUtils.containsJavaFileList(transferFlavors)...
1,114,900