bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId, Boolean.FALSE); } | public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId, Boolean.TRUE); } | 1,114,102 |
public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId, Boolean.TRUE); } | public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId, remoteReload); } | 1,114,103 |
public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadDocument(documentId, remoteReload); } | public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadSystemMessage(systemMessageId); } | 1,114,104 |
public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadSystemMessage(systemMessageId); } | public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).reloadSystemMessage(systemMessageId); } | 1,114,105 |
public void removeSearchFilter() { SwingUtilities.invokeLater(new Runnable() { public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).removeFilter(searchFilter); } }); } | public void removeSearchFilter() { SwingUtilities.invokeLater(new Runnable() { public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).removeFilter(searchFilter); } }); } | 1,114,106 |
public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).removeFilter(searchFilter); } | public void run() { ((BrowserMainAvatar) avatarRegistry.get(AvatarId.BROWSER_MAIN)).removeFilter(searchFilter); } | 1,114,107 |
List<User> readTeam(final Long containerId) { logger.info(getApiId("[READ TEAM]")); logger.debug(containerId); return CollectionsUtil.proxy(getInternalArtifactModel().readTeam(containerId)); } | List<User> readTeam(final Long containerId) { logger.info(getApiId("[READ TEAM]")); logger.debug(containerId); final Set<User> team = getInternalArtifactModel().readTeam(containerId); if(team.isEmpty()) { return new ArrayList<User>(0); } else { return CollectionsUtil.proxy(getInternalArtifactMo... | 1,114,108 |
public void invoke(final Data data) { final Long containerId = (Long) data.get(DataKey.CONTAINER_ID); getContainerModel().createDraft(containerId); browser.fireContainerDraftCreated(containerId, Boolean.FALSE); } | public void invoke(final Data data) { final Long containerId = (Long) data.get(DataKey.CONTAINER_ID); getContainerModel().createDraft(containerId); browser.fireContainerDraftCreated(containerId, Boolean.FALSE); } | 1,114,109 |
public CreateDocumentTxHandler(final Browser browser) { super(); this.browser = browser; this.dModel = browser.getDocumentModel(); this.javaFileListFlavor = DataFlavor.javaFileListFlavor; this.logger = LoggerFactory.getLogger(getClass()); } | public CreateDocumentTxHandler(final Browser browser) { super(); this.browser = browser; this.dModel = browser.getDocumentModel(); this.logger = LoggerFactory.getLogger(getClass()); } | 1,114,110 |
public boolean importData(final JComponent comp, final Transferable t) { if(!canImport(comp, t.getTransferDataFlavors())) { return false; } List data = null; try { data = (List) t.getTransferData(javaFileListFlavor); } catch(final UnsupportedFlavorException ufx) { logger.error... | public boolean importData(final JComponent comp, final Transferable t) { if(!canImport(comp, t.getTransferDataFlavors())) { return false; } List data = null; try { data = (List) t.getTransferData(javaFileListFlavor); } catch(final UnsupportedFlavorException ufx) { logger.error... | 1,114,111 |
public boolean importData(final JComponent comp, final Transferable t) { if(!canImport(comp, t.getTransferDataFlavors())) { return false; } List data = null; try { data = (List) t.getTransferData(javaFileListFlavor); } catch(final UnsupportedFlavorException ufx) { logger.error... | public boolean importData(final JComponent comp, final Transferable t) { if(!canImport(comp, t.getTransferDataFlavors())) { return false; } List data = null; try { data = (List) t.getTransferData(javaFileListFlavor); } catch(final UnsupportedFlavorException ufx) { logger.error... | 1,114,112 |
public boolean importData(final JComponent comp, final Transferable t) { if(!canImport(comp, t.getTransferDataFlavors())) { return false; } List data = null; try { data = (List) t.getTransferData(javaFileListFlavor); } catch(final UnsupportedFlavorException ufx) { logger.error... | public boolean importData(final JComponent comp, final Transferable t) { if(!canImport(comp, t.getTransferDataFlavors())) { return false; } List data = null; try { data = (List) t.getTransferData(javaFileListFlavor); } catch(final UnsupportedFlavorException ufx) { logger.error... | 1,114,113 |
private static void initLogging(final Workspace workspace) { final Properties log4j = ConfigFactory.newInstance("log4j.properties"); switch (Version.getMode()) { case DEVELOPMENT: log4j.setProperty("log4j.logger.com.thinkparity", "DEBUG,FILE"); break; case DEMO: ... | private static void initLogging(final Workspace workspace) { final Properties log4j = ConfigFactory.newInstance("log4j.properties"); switch (Version.getMode()) { case DEVELOPMENT: log4j.setProperty("log4j.logger.com.thinkparity", "DEBUG,FILE"); break; case DEMO: ... | 1,114,114 |
private Display createContent() { if(null == content) { content = new ContentDisplay(); // HEIGHT ContentDisplay 472 applySize(content, 472); } return content; } | private Display createContent() { if(null == content) { content = new ContentDisplay(); // HEIGHT ContentDisplay 472 applySize(content, 469); } return content; } | 1,114,116 |
private Display createStatus() { if(null == status) { status = new StatusDisplay(); // HEIGHT Status Display 20 applySize(status, 20); } return status; } | private Display createStatus() { if(null == status) { status = new StatusDisplay(); // HEIGHT Status Display 20 applySize(status, 23); } return status; } | 1,114,117 |
void displayMainStatusAvatar() { final Data input = new Data(1); input.set(MainStatusAvatar.DataKey.PROFILE, getProfile()); setInput(AvatarId.MAIN_STATUS, input); displayStatus(AvatarId.MAIN_STATUS); } | void displayMainStatusAvatar() { final Data input = new Data(2); input.set(MainStatusAvatar.DataKey.PROFILE, getProfile()); setInput(AvatarId.MAIN_STATUS, input); displayStatus(AvatarId.MAIN_STATUS); } | 1,114,118 |
protected void assertNotTeamMember(final Object assertion, final Long artifactId, final JabberId userId) { final List<TeamMember> team = getInternalArtifactModel().readTeam2(artifactId); final User user = getInternalUserModel().read(userId); if (null != user) Assert.assertNotTrue(ass... | protected void assertNotTeamMember(final Object assertion, final Long artifactId, final JabberId userId) { final List<TeamMember> team = getArtifactModel().readTeam2(artifactId); final User user = getInternalUserModel().read(userId); if (null != user) Assert.assertNotTrue(assertion, ... | 1,114,121 |
protected void assertTeamMember(final Object assertion, final Long artifactId, final JabberId userId) { final List<TeamMember> team = getInternalArtifactModel().readTeam2(artifactId); Assert.assertNotTrue(assertion, contains(team, getInternalUserModel().read(userId))); } | protected void assertTeamMember(final Object assertion, final Long artifactId, final JabberId userId) { final List<TeamMember> team = getArtifactModel().readTeam2(artifactId); Assert.assertNotTrue(assertion, contains(team, getInternalUserModel().read(userId))); } | 1,114,122 |
protected Boolean doesExistVersion(final Long artifactId, final Long versionId) { return getInternalArtifactModel().doesVersionExist(artifactId, versionId); } | protected Boolean doesExistVersion(final Long artifactId, final Long versionId) { return getArtifactModel().doesVersionExist(artifactId, versionId); } | 1,114,123 |
protected Boolean isKeyHolder(final Long artifactId) throws ParityException { assertOnline("USER NOT ONLINE"); final InternalArtifactModel artifactModel = getInternalArtifactModel(); return artifactModel.isFlagApplied(artifactId, ArtifactFlag.KEY) && isRemoteKeyHolder(artifactModel.r... | protected Boolean isKeyHolder(final Long artifactId) throws ParityException { assertOnline("USER NOT ONLINE"); final InternalArtifactModel artifactModel = getArtifactModel(); return artifactModel.isFlagApplied(artifactId, ArtifactFlag.KEY) && isRemoteKeyHolder(artifactModel.readUniqu... | 1,114,124 |
protected TeamMember localTeamMember(final Long artifactId) { final List<TeamMember> team = getInternalArtifactModel().readTeam2(artifactId); return get(team, localUser()); } | protected TeamMember localTeamMember(final Long artifactId) { final List<TeamMember> team = getArtifactModel().readTeam2(artifactId); return get(team, localUser()); } | 1,114,125 |
protected UUID readArtifactUniqueId(final Long artifactId) { return getInternalArtifactModel().readUniqueId(artifactId); } | protected UUID readArtifactUniqueId(final Long artifactId) { return getArtifactModel().readUniqueId(artifactId); } | 1,114,126 |
protected Long readNextVersionId(final Long artifactId) { final Long latestVersionId = getInternalArtifactModel().readLatestVersionId(artifactId); return null == latestVersionId ? Versioning.START : latestVersionId + Versioning.INCREMENT; } | protected Long readNextVersionId(final Long artifactId) { final Long latestVersionId = getArtifactModel().readLatestVersionId(artifactId); return null == latestVersionId ? Versioning.START : latestVersionId + Versioning.INCREMENT; } | 1,114,127 |
public void testGet() { try { Project project; for(Fixture datum : data) { project = datum.projectModel.get(datum.projectId); assertNotNull(project); assertEquals(datum.expectedProject, project); } } catch(Throwable t) { fail(getFailMessage(t)); } } | public void testGet() { try { Project project; for(Fixture datum : data) { project = datum.projectModel.get(datum.projectId); assertEquals(datum.expectedProject, project); } } catch(Throwable t) { fail(getFailMessage(t)); } } | 1,114,128 |
private TxUtils() { super(); } | private TxUtils() { super(); this.logger = LoggerFactory.getLogger(getClass()); } | 1,114,129 |
public Long create(final String artifactId, final String groupId, final String path, final Library.Type type, final String version) throws XMPPException { final XMPPSession session = openSession(); try { session.setRemoteMethod("library:create"); session.set... | public Long create(final String artifactId, final String groupId, final String path, final Library.Type type, final String version) throws XMPPException { final XMPPSession session = openAnonymousSession(); try { session.setRemoteMethod("library:create"); se... | 1,114,130 |
public void createBytes(final Long libraryId, final byte[] bytes, final String checksum) throws XMPPException { final XMPPSession session = openSession(); try { session.setRemoteMethod("library:createbytes"); session.setParameter("id", libraryId); session.se... | public void createBytes(final Long libraryId, final byte[] bytes, final String checksum) throws XMPPException { final XMPPSession session = openAnonymousSession(); try { session.setRemoteMethod("library:createbytes"); session.setParameter("id", libraryId); s... | 1,114,131 |
public void delete(final Long libraryId) throws XMPPException { final XMPPSession session = openSession(); try { session.setRemoteMethod("library:delete"); session.setParameter("id", libraryId); session.execute(); } catch(final Exception x) { s... | public void delete(final Long libraryId) throws XMPPException { final XMPPSession session = openAnonymousSession(); try { session.setRemoteMethod("library:delete"); session.setParameter("id", libraryId); session.execute(); } catch(final Exception x) { ... | 1,114,132 |
public Library read(final Long libraryId) throws XMPPException { final XMPPSession session = openSession(); try { session.setRemoteMethod("library:read"); session.setParameter("id", libraryId); session.execute(); if(session.containsResult()) { return extract... | public Library read(final Long libraryId) throws XMPPException { final XMPPSession session = openAnonymousSession(); try { session.setRemoteMethod("library:read"); session.setParameter("id", libraryId); session.execute(); if(session.containsResult()) { retur... | 1,114,133 |
public LibraryBytes readBytes(final Long libraryId) throws XMPPException { final XMPPSession session = openSession(); try { session.setRemoteMethod("library:readbytes"); session.setParameter("id", libraryId); session.execute(); if(session.containsResult()) {... | public LibraryBytes readBytes(final Long libraryId) throws XMPPException { final XMPPSession session = openAnonymousSession(); try { session.setRemoteMethod("library:readbytes"); session.setParameter("id", libraryId); session.execute(); if(session.containsRe... | 1,114,134 |
public byte[] readSmallBytes(final Long libraryId) throws XMPPException { final XMPPSession session = openSession(); try { session.setRemoteMethod("library:readbytes"); session.setParameter("id", libraryId); session.execute(); if(session.containsResult()) { ... | public byte[] readSmallBytes(final Long libraryId) throws XMPPException { final XMPPSession session = openAnonymousSession(); try { session.setRemoteMethod("library:readbytes"); session.setParameter("id", libraryId); session.execute(); if(session.containsRes... | 1,114,135 |
public void invoke(final Data data) { final Long artifactId = (Long) data.get(DataKey.ARTIFACT_ID); getArtifactModel().applyFlagSeen(artifactId); } | public void invoke(final Data data) { final Long artifactId = (Long) data.get(DataKey.ARTIFACT_ID); final ArtifactType artifactType = (ArtifactType) data.get(DataKey.ARTIFACT_TYPE); if (!getArtifactModel().hasBeenSeen(artifactId)) { getArtifactModel().applyFlagSeen(artifactId); browser.fireArtifactFlagSeen(artifac... | 1,114,138 |
private void syncDocuments() { // sync the documents with the visible documents visibleDocuments.clear(); visibleDocuments.addAll(documents); ModelFilterManager.filter(visibleDocuments, documentFilter); // sync visible documents with the swing list's model ListItem li; ... | private void syncDocuments() { // sync the documents with the visible documents visibleDocuments.clear(); visibleDocuments.addAll(documents); ModelFilterManager.filter(visibleDocuments, documentFilter); // sync visible documents with the swing list's model ListItem li; ... | 1,114,141 |
public void delete(final Long artifactId) throws HypersonicException { final Session session = openSession(); try { final Long[] auditIds = listAuditIds(session, artifactId); final Long[] metaDataIds = listMetaDataIds(session, auditIds); session.prepareStatement(SQL_DELETE_AUDIT_META_DATA); for(final Long me... | public void delete(final Long artifactId) throws HypersonicException { final Session session = openSession(); try { final Long[] auditIds = listAuditIds(session, artifactId); final Long[] metaDataIds = listMetaDataIds(session, auditIds); session.prepareStatement(SQL_DELETE_AUDIT_META_DATA); for(final Long me... | 1,114,145 |
public void delete(final Long artifactId) throws HypersonicException { final Session session = openSession(); try { final Long[] auditIds = listAuditIds(session, artifactId); final Long[] metaDataIds = listMetaDataIds(session, auditIds); session.prepareStatement(SQL_DELETE_AUDIT_META_DATA); for(final Long me... | public void delete(final Long artifactId) throws HypersonicException { final Session session = openSession(); try { final Long[] auditIds = listAuditIds(session, artifactId); final Long[] metaDataIds = listMetaDataIds(session, auditIds); session.prepareStatement(SQL_DELETE_AUDIT_META_DATA); for(final Long me... | 1,114,146 |
private ReceiveKeyEvent extractReceiveKey(final Session session) { final ReceiveKeyEvent receiveKeyEvent = new ReceiveKeyEvent(); receiveKeyEvent.setArtifactId(session.getLong("ARTIFACT_ID")); receiveKeyEvent.setArtifactVersionId(session.getLong("ARTIFACT_VERSION_ID")); receiveKeyEvent.setCreatedBy(session.getQual... | private ReceiveKeyEvent extractReceiveKey(final Session session) { final ReceiveKeyEvent receiveKeyEvent = new ReceiveKeyEvent(); receiveKeyEvent.setArtifactId(session.getLong("ARTIFACT_ID")); receiveKeyEvent.setCreatedBy(session.getQualifiedUsername("CREATED_BY")); receiveKeyEvent.setCreatedOn(session.getCalend... | 1,114,147 |
private SendKeyEvent extractSendKey(final Session session) { final SendKeyEvent sendKeyEvent = new SendKeyEvent(); sendKeyEvent.setArtifactId(session.getLong("ARTIFACT_ID")); sendKeyEvent.setArtifactVersionId(session.getLong("ARTIFACT_VERSION_ID")); sendKeyEvent.setCreatedBy(session.getQualifiedUsername("CREATED_B... | private SendKeyEvent extractSendKey(final Session session) { final SendKeyEvent sendKeyEvent = new SendKeyEvent(); sendKeyEvent.setArtifactId(session.getLong("ARTIFACT_ID")); sendKeyEvent.setArtifactVersionId(session.getLong("ARTIFACT_VERSION_ID")); sendKeyEvent.setCreatedBy(session.getQualifiedUsername("CREATED_B... | 1,114,148 |
private JMenuItem getKeyRequestAcceptMenuItem(final ListItem listItem, final KeyRequest keyRequest) { return listItem.createJMenuItem("KeyRequestAccept", new ActionListener() { public void actionPerformed(final ActionEvent e) { runAcceptKeyRequest(listItem, document.getId(), keyRequest.getId()); } }); } | private JMenuItem getKeyRequestAcceptMenuItem(final ListItem listItem, final KeyRequest keyRequest) { final Object[] arguments = new Object[] { keyRequest.getRequestedByName() }; return listItem.createJMenuItem("KeyRequestAccept", arguments, new ActionListener() { public void actionPerformed(final ActionEvent e) ... | 1,114,149 |
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ... | protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ... | 1,114,150 |
ArchiveTabAvatar(final TabPanelExtension extension) { super(extension, new ArchiveTabModel(extension)); model.setSession(getSession()); setPopupDelegate(model.getPopupDelegate()); } | ArchiveTabAvatar(final TabPanelExtension extension) { super(extension, new ArchiveTabModel(extension)); model.setSession(getSession()); setSortByDelegate(model); } | 1,114,151 |
private void doToggleExpansion(final TabPanel tabPanel) { final ContactTabPanel contactTabPanel = (ContactTabPanel) tabPanel; final Boolean expanded; if (isExpanded(contactTabPanel)) { expanded = Boolean.FALSE; } else { // NOTE-BEGIN:multi-expand to allow multiple s... | private void doToggleExpansion(final TabPanel tabPanel) { final ContactTabPanel contactTabPanel = (ContactTabPanel) tabPanel; final Boolean expanded; if (isExpanded(contactTabPanel)) { expanded = Boolean.FALSE; } else { // NOTE-BEGIN:multi-expand to allow multiple s... | 1,114,152 |
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,153 |
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,154 |
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,155 |
public DOMTestCase(DOMTestDocumentBuilderFactory factory) { super(factory); framework = null; } | public DOMTestCase(DOMTestDocumentBuilderFactory factory) { super(factory); framework = null; } | 1,114,156 |
public Border getBorder() { if(isExpanded()) { return new Expanded(); } else { return new Default(); } } | public Border getBorder() { if(isExpanded()) { return new Expanded(); } else { return new Default(); } } | 1,114,157 |
public ImageIcon getNodeIcon() { if(isExpanded()) { return imageCache.read(DocumentIcon.NODE_EXPANDED); } else { return imageCache.read(DocumentIcon.NODE_DEFAULT); } } | public ImageIcon getNodeIcon() { if(isExpanded()) { return imageCache.read(DocumentIcon.NODE_EXPANDED); } else { return imageCache.read(DocumentIcon.NODE_DEFAULT); } } | 1,114,158 |
private void installDataListener() { final DefaultListModel listModel = model.getListModel(); listModel.addListDataListener(new ListDataListener() { public void contentsChanged(final ListDataEvent e) { debug(); // update from index 0 to index 1 f... | private void installDataListener() { final DefaultListModel listModel = model.getListModel(); listModel.addListDataListener(new ListDataListener() { public void contentsChanged(final ListDataEvent e) { debug(); // update from index 0 to index 1 f... | 1,114,159 |
private void installDataListener() { final DefaultListModel listModel = model.getListModel(); listModel.addListDataListener(new ListDataListener() { public void contentsChanged(final ListDataEvent e) { debug(); // update from index 0 to index 1 f... | private void installDataListener() { final DefaultListModel listModel = model.getListModel(); listModel.addListDataListener(new ListDataListener() { public void contentsChanged(final ListDataEvent e) { debug(); // update from index 0 to index 1 f... | 1,114,160 |
private void installDataListener() { final DefaultListModel listModel = model.getListModel(); listModel.addListDataListener(new ListDataListener() { public void contentsChanged(final ListDataEvent e) { debug(); // update from index 0 to index 1 f... | private void installDataListener() { final DefaultListModel listModel = model.getListModel(); listModel.addListDataListener(new ListDataListener() { public void contentsChanged(final ListDataEvent e) { debug(); // update from index 0 to index 1 f... | 1,114,161 |
public void contentsChanged(final ListDataEvent e) { debug(); // update from index 0 to index 1 for (int i = e.getIndex0(); i <= e.getIndex1(); i++) { panelConstraints.gridy = i; tabJPanel.remove(i); final ... | public void contentsChanged(final ListDataEvent e) { debug(); // update from index 0 to index 1 for (int i = e.getIndex0(); i <= e.getIndex1(); i++) { panelConstraints.gridy = i; tabJPanel.remove(i); final ... | 1,114,162 |
public void contentsChanged(final ListDataEvent e) { debug(); // update from index 0 to index 1 for (int i = e.getIndex0(); i <= e.getIndex1(); i++) { panelConstraints.gridy = i; tabJPanel.remove(i); final ... | public void contentsChanged(final ListDataEvent e) { debug(); // update from index 0 to index 1 for (int i = e.getIndex0(); i <= e.getIndex1(); i++) { panelConstraints.gridy = i; tabJPanel.remove(i); final ... | 1,114,163 |
public void intervalAdded(final ListDataEvent e) { debug(); tabJPanel.remove(fillJLabel); // Adding an interval can cause the border on the interval before it to change, // so adjust the start index to one before the interval added.... | public void intervalAdded(final ListDataEvent e) { debug(); tabJPanel.remove(fillJLabel); // Adding an interval can cause the border on the interval before it to change, // so adjust the start index to one before the interval added.... | 1,114,164 |
public void intervalAdded(final ListDataEvent e) { debug(); tabJPanel.remove(fillJLabel); // Adding an interval can cause the border on the interval before it to change, // so adjust the start index to one before the interval added.... | public void intervalAdded(final ListDataEvent e) { debug(); tabJPanel.remove(fillJLabel); // Adding an interval can cause the border on the interval before it to change, // so adjust the start index to one before the interval added.... | 1,114,165 |
public void intervalRemoved(final ListDataEvent e) { debug(); tabJPanel.remove(fillJLabel); // Removing an interval can cause the border on the interval before it to change, // so adjust the start index to one before the interval ad... | public void intervalRemoved(final ListDataEvent e) { debug(); tabJPanel.remove(fillJLabel); // Removing an interval can cause the border on the interval before it to change, // so adjust the start index to one before the interval ad... | 1,114,166 |
public void intervalRemoved(final ListDataEvent e) { debug(); tabJPanel.remove(fillJLabel); // Removing an interval can cause the border on the interval before it to change, // so adjust the start index to one before the interval ad... | public void intervalRemoved(final ListDataEvent e) { debug(); tabJPanel.remove(fillJLabel); // Removing an interval can cause the border on the interval before it to change, // so adjust the start index to one before the interval ad... | 1,114,167 |
void handleTeamMemberAdded(final UUID uniqueId, final JabberId jabberId) { logApiId(); logVariable("uniqueId", uniqueId); logVariable("jabberId", jabberId); try { final Long artifactId = readId(uniqueId); // if receiving your own team member added event you have jus... | void handleTeamMemberAdded(final UUID uniqueId, final JabberId jabberId) { logApiId(); logVariable("uniqueId", uniqueId); logVariable("jabberId", jabberId); try { final Long artifactId = readId(uniqueId); // if receiving your own team member added event you have jus... | 1,114,168 |
public DoubleTypeConverterImpl(ValueFactory factory) { super(factory); } | public DoubleTypeConverterImpl(ValueFactory factory) { super(factory); } | 1,114,169 |
public void run() { LOGGER.logApiId(); LOGGER.logVariable("streamId", streamId); LOGGER.logVariable("streamId", streamOffset); LOGGER.logVariable("streamId", streamSize); try { final OutputStream output = streamServer.openOutputStream(streamSession, strea... | public void run() { LOGGER.logApiId(); LOGGER.logVariable("streamId", streamId); LOGGER.logVariable("streamId", streamOffset); LOGGER.logVariable("streamId", streamSize); try { final OutputStream output = streamServer.openOutputStream(streamSession, strea... | 1,114,171 |
private JMenu getSendVersionMenu() { final Contact[] team = avatar.getTeam(historyItem.getDocumentId()); final JMenu jMenu = MenuFactory.create(getString("SendVersion")); for(final Contact teamMember : team) { jMenu.add(createJMenuItem( "SendVersion.TeamMember", ... | private JMenu getSendVersionMenu() { final Contact[] team = avatar.getTeam(historyItem.getDocumentId()); final JMenu jMenu = MenuFactory.create(getString("SendVersion")); for(final Contact teamMember : team) { jMenu.add(createJMenuItem( "SendVersion.TeamMember", ... | 1,114,173 |
public void populatePopupMenu(final MouseEvent e, final JPopupMenu jPopupMenu) { if(isVersionAttached()) { jPopupMenu.add(getOpenVersionMenuItem()); jPopupMenu.add(getSendVersionMenu()); } } | public void populatePopupMenu(final MouseEvent e, final JPopupMenu jPopupMenu) { if(isVersionAttached()) { jPopupMenu.add(getOpenVersionMenuItem()); if(!isClosed()) { final Contact[] team = avatar.getTeam(historyItem.getDocumentId()); if(0 < team.length) { jPopupMenu.add(getS... | 1,114,174 |
public Project get(final UUID id) throws FileNotFoundException, IOException { logger.info("get(UUID)"); logger.debug(id); final Index index = readIndex(getIndexXmlFile()); return readProject(index.lookupXmlFile(id)); } | public Project get(final UUID id) throws FileNotFoundException, IOException { logger.info("get(UUID)"); logger.debug(id); final Index index = readIndex(getIndexXmlFile()); final File xmlFile = index.lookupXmlFile(id); if(null == xmlFile) { return null; } else { return readProject(xmlFile); } } | 1,114,175 |
private void initComponents() { javax.swing.JButton cancelJButton; javax.swing.JLabel contactsJLabel; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JSeparator jSeparator_1; javax.swing.JLabel teamJLabel; javax.swing.JScrollPane teamJScrollPane; javax.swing... | private void initComponents() { javax.swing.JButton cancelJButton; javax.swing.JLabel contactsJLabel; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JSeparator jSeparator_1; javax.swing.JLabel teamJLabel; javax.swing.JScrollPane teamJScrollPane; javax.swing... | 1,114,176 |
protected void error(HttpServletRequest request, HttpServletResponse response, Exception cause) throws ServletException { try { StringBuffer html = new StringBuffer(); html.append("<html>"); html.append("<titl... | protected void error(HttpServletRequest request, HttpServletResponse response, Exception cause) throws ServletException { try { StringBuffer html = new StringBuffer(); html.append("<html>"); html.append("<titl... | 1,114,179 |
protected void mergeTemplate(Template template, Context context, HttpServletResponse response) throws ResourceNotFoundException, ParseErrorException, MethodInvocationException, IOException, UnsupportedEncodingExce... | protected void mergeTemplate(Template template, Context context, HttpServletResponse response) throws ResourceNotFoundException, ParseErrorException, MethodInvocationException, IOException, UnsupportedEncodingExce... | 1,114,180 |
protected void mergeTemplate(Template template, Context context, HttpServletResponse response) throws ResourceNotFoundException, ParseErrorException, MethodInvocationException, IOException, UnsupportedEncodingExce... | protected void mergeTemplate(Template template, Context context, HttpServletResponse response) throws ResourceNotFoundException, ParseErrorException, MethodInvocationException, IOException, UnsupportedEncodingExce... | 1,114,181 |
protected void mergeTemplate(Template template, Context context, HttpServletResponse response) throws ResourceNotFoundException, ParseErrorException, MethodInvocationException, IOException, UnsupportedEncodingExce... | protected void mergeTemplate(Template template, Context context, HttpServletResponse response) throws ResourceNotFoundException, ParseErrorException, MethodInvocationException, IOException, UnsupportedEncodingExce... | 1,114,182 |
protected void mergeTemplate(Template template, Context context, HttpServletResponse response) throws ResourceNotFoundException, ParseErrorException, MethodInvocationException, IOException, UnsupportedEncodingExce... | protected void mergeTemplate(Template template, Context context, HttpServletResponse response) throws ResourceNotFoundException, ParseErrorException, MethodInvocationException, IOException, UnsupportedEncodingExce... | 1,114,183 |
public Project(final Project parent, final String name, final Calendar createdOn, final String createdBy, final String keyHolder, final String description, final File directory, final UUID id) { super(parent, name, description, createdOn, createdBy, keyHolder, id); this.directory = directory; // sub-projects do... | public Project(final Project parent, final String name, final Calendar createdOn, final String createdBy, final String keyHolder, final String description, final File directory, final UUID id) { super(parent, name, description, createdOn, createdBy, id); this.directory = directory; // sub-projects documents and... | 1,114,184 |
private JLabel getCloseButton() { javax.swing.JLabel closeJLabel = new JLabel(ImageIOUtil.readIcon("BrowserTitle_Close.png")); closeJLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { closeJLabelMouseClicked(ev... | private JLabel getCloseButton() { javax.swing.JLabel closeJLabel = new JLabel(CLOSE_ICON); closeJLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { closeJLabelMouseClicked(evt); } public v... | 1,114,185 |
private JLabel getMaximizeButton() { javax.swing.JLabel maximizeJLabel = new JLabel(ImageIOUtil.readIcon("BrowserTitle_Maximize.png")); maximizeJLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { maximizeJLabel... | private JLabel getMaximizeButton() { javax.swing.JLabel maximizeJLabel = new JLabel(ImageIOUtil.readIcon("BrowserTitle_Maximize.png")); maximizeJLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { maximizeJLabel... | 1,114,186 |
public void mouseClicked(java.awt.event.MouseEvent evt) { closeJLabelMouseClicked(evt); } | public void mouseClicked(java.awt.event.MouseEvent evt) { maximizeJLabelMouseClicked(evt); } | 1,114,187 |
public void mouseEntered(java.awt.event.MouseEvent evt) { closeJLabelMouseEntered(evt); } | public void mouseEntered(java.awt.event.MouseEvent evt) { maximizeJLabelMouseEntered(evt); } | 1,114,188 |
public void mouseExited(java.awt.event.MouseEvent evt) { closeJLabelMouseExited(evt); } | public void mouseExited(java.awt.event.MouseEvent evt) { maximizeJLabelMouseExited(evt); } | 1,114,189 |
private JLabel getMinimizeButton() { javax.swing.JLabel minimizeJLabel = new JLabel(ImageIOUtil.readIcon("BrowserTitle_Minimize.png")); minimizeJLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { minimizeJLabel... | private JLabel getMinimizeButton() { javax.swing.JLabel minimizeJLabel = new JLabel(MINIMIZE_ICON); minimizeJLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { minimizeJLabelMouseClicked(evt); } ... | 1,114,190 |
public void mouseClicked(java.awt.event.MouseEvent evt) { maximizeJLabelMouseClicked(evt); } | public void mouseClicked(java.awt.event.MouseEvent evt) { minimizeJLabelMouseClicked(evt); } | 1,114,191 |
public void mouseEntered(java.awt.event.MouseEvent evt) { maximizeJLabelMouseEntered(evt); } | public void mouseEntered(java.awt.event.MouseEvent evt) { minimizeJLabelMouseEntered(evt); } | 1,114,192 |
public void mouseExited(java.awt.event.MouseEvent evt) { maximizeJLabelMouseExited(evt); } | public void mouseExited(java.awt.event.MouseEvent evt) { minimizeJLabelMouseExited(evt); } | 1,114,193 |
public void mouseClicked(java.awt.event.MouseEvent evt) { minimizeJLabelMouseClicked(evt); } | public void mouseClicked(java.awt.event.MouseEvent evt) { minimizeJLabelMouseClicked(evt); } | 1,114,194 |
public void mouseEntered(java.awt.event.MouseEvent evt) { minimizeJLabelMouseEntered(evt); } | public void mouseEntered(java.awt.event.MouseEvent evt) { minimizeJLabelMouseEntered(evt); } | 1,114,195 |
public void mouseExited(java.awt.event.MouseEvent evt) { minimizeJLabelMouseExited(evt); } | public void mouseExited(java.awt.event.MouseEvent evt) { minimizeJLabelMouseExited(evt); } | 1,114,196 |
private void maximizeJLabelMouseEntered(java.awt.event.MouseEvent evt) { ((JLabel) evt.getSource()).setIcon(MAX_ROLLOVER_ICON); } | private void maximizeJLabelMouseEntered(java.awt.event.MouseEvent evt) { if (browser.isBrowserWindowMaximized()) { ((JLabel) evt.getSource()).setIcon(UNMAXIMIZE_ROLLOVER_ICON); } else { ((JLabel) evt.getSource()).setIcon(MAXIMIZE_ROLLOVER_ICON); } } | 1,114,197 |
private void maximizeJLabelMouseExited(java.awt.event.MouseEvent evt) { ((JLabel) evt.getSource()).setIcon(MAX_ICON); } | private void maximizeJLabelMouseExited(java.awt.event.MouseEvent evt) { if (browser.isBrowserWindowMaximized()) { ((JLabel) evt.getSource()).setIcon(UNMAXIMIZE_ICON); } else { ((JLabel) evt.getSource()).setIcon(MAXIMIZE_ICON); } } | 1,114,198 |
private void minimizeJLabelMouseEntered(java.awt.event.MouseEvent evt) { ((JLabel) evt.getSource()).setIcon(MIN_ROLLOVER_ICON); } | private void minimizeJLabelMouseEntered(java.awt.event.MouseEvent evt) { ((JLabel) evt.getSource()).setIcon(MINIMIZE_ROLLOVER_ICON); } | 1,114,199 |
private void minimizeJLabelMouseExited(java.awt.event.MouseEvent evt) { ((JLabel) evt.getSource()).setIcon(MIN_ICON); } | private void minimizeJLabelMouseExited(java.awt.event.MouseEvent evt) { ((JLabel) evt.getSource()).setIcon(MINIMIZE_ICON); } | 1,114,200 |
public XMPPMethodResponse execute(final XMPPConnection xmppConnection) { // add an executed on parameter setParameter(Xml.All.EXECUTED_ON, DateUtil.getInstance()); // create a collector for the response final PacketCollector idCollector = createPacketCollector(xmppConnection); // ... | public XMPPMethodResponse execute(final XMPPConnection xmppConnection) { // add an executed on parameter setParameter(Xml.All.EXECUTED_ON, DateUtil.getInstance()); // create a collector for the response final PacketCollector idCollector = createPacketCollector(xmppConnection); // ... | 1,114,201 |
public XMPPMethodResponse execute(final XMPPConnection xmppConnection) { // add an executed on parameter setParameter(Xml.All.EXECUTED_ON, DateUtil.getInstance()); // create a collector for the response final PacketCollector idCollector = createPacketCollector(xmppConnection); // ... | public XMPPMethodResponse execute(final XMPPConnection xmppConnection) { // add an executed on parameter setParameter(Xml.All.EXECUTED_ON, DateUtil.getInstance()); // create a collector for the response final PacketCollector idCollector = createPacketCollector(xmppConnection); // ... | 1,114,202 |
public XMPPMethodResponse execute(final XMPPConnection xmppConnection) { // add an executed on parameter setParameter(Xml.All.EXECUTED_ON, DateUtil.getInstance()); // create a collector for the response final PacketCollector idCollector = createPacketCollector(xmppConnection); // ... | public XMPPMethodResponse execute(final XMPPConnection xmppConnection) { // add an executed on parameter setParameter(Xml.All.EXECUTED_ON, DateUtil.getInstance()); // create a collector for the response final PacketCollector idCollector = createPacketCollector(xmppConnection); // ... | 1,114,203 |
public XMPPMethodResponse execute(final XMPPConnection xmppConnection) { // add an executed on parameter setParameter(Xml.All.EXECUTED_ON, DateUtil.getInstance()); // create a collector for the response final PacketCollector idCollector = createPacketCollector(xmppConnection); // ... | public XMPPMethodResponse execute(final XMPPConnection xmppConnection) { // add an executed on parameter setParameter(Xml.All.EXECUTED_ON, DateUtil.getInstance()); // create a collector for the response final PacketCollector idCollector = createPacketCollector(xmppConnection); // ... | 1,114,204 |
public String getChildElementXML() { final StringBuffer childElementXML = new StringBuffer() .append("<query xmlns=\"jabber:iq:parity:") .append(name) .append("\">") .append(getParametersXML()) .append("</query>"); logVariable("childElementXML.len... | public String getChildElementXML() { final StringBuffer childElementXML = new StringBuffer() .append("<query xmlns=\"jabber:iq:parity:") .append(name) .append("\">") .append(getParametersXML()) .append("</query>"); logger.logVariable("childElement... | 1,114,205 |
public String getPublicationDate() { return getProperty(keyPublicationDate); } | public String getPublicationDate() { return getProperty(keyPublicationDate); } | 1,114,207 |
public String getTitle() { return getProperty(keyTitle); } | public String getTitle() { return (String) getProperty(keyTitle); } | 1,114,208 |
public AmberMessage() { storage = new Properties(); } | public AmberMessage() { storage = new Hashtable<String, Object>(); } | 1,114,209 |
public void setProperty(String key, String value) { storage.setProperty(key, value); } | public void setProperty(String key, String value) { storage.setProperty(key, value); } | 1,114,210 |
public void fromYAML(String in) { storage = (Properties) YAML.load(in); } | public void fromYAML(String in) { storage = (Hashtable<String, Object>) YAML.load(in); } | 1,114,211 |
public String getProperty(String key) { return storage.getProperty(key); } | public String getProperty(String key) { return storage.getProperty(key); } | 1,114,212 |
protected File getXmlFile(final Document document, final DocumentVersion version) throws FileNotFoundException, IOException { logger.info("getXmlFile(Document,DocumentVersion)"); logger.debug(document); logger.debug(version); return new File( getXmlFileDirectory(document), new StringBuffer(document.getNa... | protected File getXmlFile(final Document document, final DocumentVersion version) throws FileNotFoundException, IOException { logger.info("getXmlFile(Document,DocumentVersion)"); logger.debug(document); logger.debug(version); return new File( getXmlFileDirectory(document), new StringBuffer(document.getNa... | 1,114,213 |
private void writeIndexXml(final Document document) throws FileNotFoundException, IOException { synchronized(indexLock) { final IndexXmlIO indexXmlIO = new IndexXmlIO(workspace); final Index index = indexXmlIO.get(); index.addLookup(document.getId(), getXmlFile(document)); write(index, getIndexXmlFile()); ... | private void writeIndexXml(final Document document) throws FileNotFoundException, IOException { synchronized(indexLock) { final IndexXmlIO indexXmlIO = new IndexXmlIO(workspace); final Index index = indexXmlIO.get(); index.addXmlFileLookup(document.getId(), getXmlFile(document)); write(index, getIndexXmlFil... | 1,114,214 |
private void formMouseEntered(final java.awt.event.MouseEvent evt, final Component component) { if ((!resizeDragging) && (!moveDragging) && (resizeEdges!=ResizeEdges.NO_EDGE)) { initResize(evt, component); } } | private void formMouseEntered(final java.awt.event.MouseEvent evt, final Component component) { if (enabled &&(!resizeDragging) && (!moveDragging) && (resizeEdges!=ResizeEdges.NO_EDGE)) { initResize(evt, component); } } | 1,114,215 |
private void formMouseMoved(final java.awt.event.MouseEvent evt, final Component component) { if ((!resizeDragging) && (!moveDragging) && (resizeEdges!=ResizeEdges.NO_EDGE)) { initResize(evt, component); } } | private void formMouseMoved(final java.awt.event.MouseEvent evt, final Component component) { if (enabled && (!resizeDragging) && (!moveDragging) && (resizeEdges!=ResizeEdges.NO_EDGE)) { initResize(evt, component); } } | 1,114,216 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.