bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration. */ final String loggingRootProperty = System.getProperty("thinkparity.logging.root"); final boolean isDesktop = null == logg... | private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration. */ final String loggingRootProperty = System.getProperty("thinkparity.logging.root"); final boolean isDesktop = null == logg... | 1,114,443 |
private Properties load(final File file) { try { init(file); } catch(final IOException iox) { throw new RuntimeException(iox); } final Properties properties = new Properties(); try { properties.load(new FileInputStream(file)); } catch(final IOException iox) { throw new RuntimeException(iox); } return... | private Properties load(final File file) { try { init(file); } catch(final IOException iox) { throw new RuntimeException(iox); } final Properties properties = new Properties(); try { properties.load(new FileInputStream(file)); } catch(final IOException iox) { throw new RuntimeException(iox); } return... | 1,114,444 |
private void store(final Properties properties, final File file) { try { properties.store(new FileOutputStream(file), ""); } catch(final IOException iox) { throw new RuntimeException(iox); } } | private void store(final Properties properties, final File file) { try { properties.store(new FileOutputStream(file), ""); } catch(final IOException iox) { throw new RuntimeException(iox); } } | 1,114,445 |
public void invoke(final Data data) throws Exception { final String criteria = (String) data.get(DataKey.CRITERIA); if(null == criteria || 1 > criteria.length()) { browser.removeSearchFilter(); } else { final List<IndexHit> searchResult = getIndexModel().search(criteria); browser.applySearchFilter(searchResu... | public void invoke(final Data data) throws Exception { final String criteria = (String) data.get(DataKey.CRITERIA); if(null == criteria || 1 > criteria.length()) { browser.removeSearchFilter(); } else { final List<IndexHit> searchResult = getIndexModel().searchArtifact(criteria); browser.applySearchFilter(se... | 1,114,446 |
public List<DocumentVersion> readVersions(final UUID uniqueId) { // bit of a wierd workflow to ensure the container is archived final Long containerId = readArchivedArtifactId(containerUniqueId); if (null == containerId) { return Collections.emptyList(); } else { fi... | public List<DocumentVersion> readVersions(final UUID uniqueId) { // bit of a wierd workflow to ensure the container is archived final Long containerId = readArchivedArtifactId(containerUniqueId); if (null == containerId) { return Collections.emptyList(); } else { fi... | 1,114,447 |
public FullScreen(String moduleName) { super(moduleName); JFrame main = new JFrame(); main.setSize(500, 500); /* * main = new JWindow(); * GraphicsEnvironment.getLocalGraphicsEnvironment() * .getDefaultScreenDevice().setFullScreenWindow(main); */ ... | public FullScreen(String moduleName) { super(moduleName); JFrame main = new JFrame(); main.setSize(500, 500); /* * main = new JWindow(); * GraphicsEnvironment.getLocalGraphicsEnvironment() * .getDefaultScreenDevice().setFullScreenWindow(main); */ ... | 1,114,448 |
public ShowOffObject(String moduleName) { super(moduleName); storyQueue = new LinkedList<Story>(); } | public ShowOffObject(String moduleName) { super(moduleName); storyQueue = new LinkedList<Story>(); } | 1,114,449 |
public MainProvider(final ArtifactModel artifactModel, final DocumentModel documentModel, final SystemMessageModel systemMessageModel) { super(); this.documentProvider = new SingleContentProvider() { public Object getElement(final Object input) { final Long documentId = assertNotNullLong( "The main pro... | public MainProvider(final ArtifactModel artifactModel, final DocumentModel documentModel, final SystemMessageModel systemMessageModel) { super(); this.documentProvider = new SingleContentProvider() { public Object getElement(final Object input) { final Long documentId = assertNotNullLong( "The main pro... | 1,114,450 |
public List<DocumentVersion> readVersions(final UUID uniqueId) { // bit of a wierd workflow to ensure the container is backed up final Long containerId = readBackupArtifactId(containerUniqueId); if (null == containerId) { return Collections.emptyList(); } else { fin... | public List<DocumentVersion> readVersions(final UUID uniqueId) { // bit of a wierd workflow to ensure the container is backed up final Long containerId = readBackupArtifactId(containerUniqueId); if (null == containerId) { return Collections.emptyList(); } else { fin... | 1,114,451 |
public void run() { getTabContainerAvatar().syncContainer(containerId, remote, select); } | public void run() { getTabContainerAvatar().syncContainer(containerId, Boolean.FALSE, select); } | 1,114,452 |
public void run() { getTabContainerAvatar().syncContainer(containerId, Boolean.FALSE, select); } | public void run() { getTabContainerAvatar().syncContainer(containerId, remote, select); } | 1,114,453 |
public void run() { getTabContainerAvatar().syncContainer(containerId, remote, select); } | public void run() { getTabContainerAvatar().syncDocument(containerId, documentId, Boolean.FALSE); } | 1,114,454 |
public void run() { getTabContainerAvatar().syncDocument(containerId, documentId, Boolean.FALSE); } | public void run() { getTabContainerAvatar().syncDocument(documentId, Boolean.FALSE); } | 1,114,455 |
public void run() { getTabContainerAvatar().syncDocument(documentId, Boolean.FALSE); } | public void run() { getTabContainerAvatar().syncDocument(documentId, Boolean.FALSE); } | 1,114,456 |
protected void delete(final Term term) throws IOException { final IndexReader indexReader = openIndexReader(); try { Assert.assertTrue("COULD NOT DELETE FROM INDEX", 1 == indexReader.deleteDocuments(term)); } finally { closeIndexReader(indexReader); ... | protected void delete(final Term term) throws IOException { final IndexReader indexReader = openIndexReader(); try { Assert.assertTrue("COULD NOT DELETE FROM INDEX", 1 == indexReader.deleteDocuments(term)); } finally { closeIndexReader(indexReader); ... | 1,114,457 |
public static ArtifactFlag fromId(final Integer id) { switch(id) { case 0: return SEEN; default: throw Assert.createUnreachable("Unknown artifact flag id: " + id); } } | public static ArtifactFlag fromId(final Integer id) { switch(id) { case 0: return KEY; case 1: return SEEN; default: throw Assert.createUnreachable("Unknown artifact flag id: " + id); } } | 1,114,458 |
public Object getElement(final Object input) { Assert.assertNotNull( "The history provider requries java.lang.Long input.", input); Assert.assertOfType( "The history provider requries java.lang.Long input.", Long.class, input); try { return documentModel.get((Long) input); } catch(fin... | public Object getElement(final Object input) { Assert.assertNotNull( "The history provider requries java.lang.Long input.", input); Assert.assertOfType( "The history provider requries java.lang.Long input.", Long.class, input); try { return dModel.get((Long) input); } catch(final Pari... | 1,114,459 |
public Object[] getElements(final Object input) { Assert.assertNotNull( "The history provider requries java.lang.Long input.", input); Assert.assertOfType( "The history provider requries java.lang.Long input.", Long.class, input); try { return documentModel.readHistory((Long) input).toAr... | public Object[] getElements(final Object input) { Assert.assertNotNull( "The history provider requries java.lang.Long input.", input); Assert.assertOfType( "The history provider requries java.lang.Long input.", Long.class, input); try { return dModel.readHistory((Long) input).toArray(new... | 1,114,460 |
DocumentListItem(final DisplayDocument displayDocument) { super("DocumentListItem"); this.displayDocument = displayDocument; setDocumentId(displayDocument.getDocumentId()); if(displayDocument.isUrgent()) { setBackgroundImage(BG_URGENT); setBackgroundImageSelected(BG_URGENT_SEL); setNameForeground(NAME_FOREGR... | DocumentListItem(final DisplayDocument displayDocument) { super("DocumentListItem"); this.displayDocument = displayDocument; setDocumentId(displayDocument.getDocumentId()); if(displayDocument.isUrgent()) { setBackgroundImage(BG_URGENT); setBackgroundImageSelected(BG_URGENT_SEL); setNameForeground(NAME_FOREGR... | 1,114,461 |
public Object getObject(Session session, Class clazz, String path) { try { if (!session.itemExists(path)) { return null; } ClassDescriptor classDescriptor = getClassDescriptor(clazz);// if (classDescriptor.isAbstract()) {// throw new P... | public Object getObject(Session session, Class clazz, String path) { try { if (!session.itemExists(path)) { return null; } catch(ClassNotFoundException clnf) { throw new PersistenceException("Impossible to instantiate the object at " + path, clnf); } ClassDescr... | 1,114,463 |
private void retrieveBeanFields(Session session, ClassDescriptor classDescriptor, Node node, String path, Object object) { Iterator beanDescriptorIterator = classDescrip... | private void retrieveBeanFields(Session session, ClassDescriptor classDescriptor, Node node, String path, Object object) { Iterator beanDescriptorIterator = classDescrip... | 1,114,464 |
private Object retrieveSimpleFields(Session session, ClassDescriptor classDescriptor, Node node, Object object) { // Object initializedBean = object; try { Iterator fieldDe... | private Object retrieveSimpleFields(Session session, ClassDescriptor classDescriptor, Node node, Object object) { // Object initializedBean = object; try { Iterator fieldDe... | 1,114,467 |
private Object retrieveSimpleFields(Session session, ClassDescriptor classDescriptor, Node node, Object object) { // Object initializedBean = object; try { Iterator fieldDe... | private Object retrieveSimpleFields(Session session, ClassDescriptor classDescriptor, Node node, Object object) { // Object initializedBean = object; try { Iterator fieldDe... | 1,114,468 |
private Object retrieveSimpleFields(Session session, ClassDescriptor classDescriptor, Node node, Object object) { // Object initializedBean = object; try { Iterator fieldDe... | private Object retrieveSimpleFields(Session session, ClassDescriptor classDescriptor, Node node, Object object) { // Object initializedBean = object; try { Iterator fieldDe... | 1,114,470 |
private Object retrieveSimpleFields(Session session, ClassDescriptor classDescriptor, Node node, Object object) { // Object initializedBean = object; try { Iterator fieldDe... | private Object retrieveSimpleFields(Session session, ClassDescriptor classDescriptor, Node node, Object object) { // Object initializedBean = object; try { Iterator fieldDe... | 1,114,471 |
private Object retrieveSimpleFields(Session session, ClassDescriptor classDescriptor, Node node, Object object) { // Object initializedBean = object; try { Iterator fieldDe... | private Object retrieveSimpleFields(Session session, ClassDescriptor classDescriptor, Node node, Object object) { // Object initializedBean = object; try { Iterator fieldDe... | 1,114,472 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleContactDeletedIQ query = new HandleContactDeletedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if ... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleContactDeletedIQ query = new HandleContactDeletedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if ... | 1,114,473 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleContactDeletedIQ query = new HandleContactDeletedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if ... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleContactDeletedIQ query = new HandleContactDeletedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if ... | 1,114,474 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleContactUpdatedIQ query = new HandleContactUpdatedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if ... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleContactUpdatedIQ query = new HandleContactUpdatedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if ... | 1,114,475 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleContactUpdatedIQ query = new HandleContactUpdatedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if ... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleContactUpdatedIQ query = new HandleContactUpdatedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if ... | 1,114,476 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationExtendedIQ query = new HandleInvitationExtendedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationExtendedIQ query = new HandleInvitationExtendedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | 1,114,477 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationExtendedIQ query = new HandleInvitationExtendedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationExtendedIQ query = new HandleInvitationExtendedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | 1,114,478 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationAcceptedIQ query = new HandleInvitationAcceptedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationAcceptedIQ query = new HandleInvitationAcceptedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | 1,114,479 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationAcceptedIQ query = new HandleInvitationAcceptedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationAcceptedIQ query = new HandleInvitationAcceptedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | 1,114,480 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationDeletedIQ query = new HandleInvitationDeletedIQ(); Boolean isComplete = Boolean.FALSE; while (!isComplete) { if (isStartTa... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationDeletedIQ query = new HandleInvitationDeletedIQ(); Boolean isComplete = Boolean.FALSE; while (!isComplete) { if (isStartTa... | 1,114,481 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationDeletedIQ query = new HandleInvitationDeletedIQ(); Boolean isComplete = Boolean.FALSE; while (!isComplete) { if (isStartTa... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleInvitationDeletedIQ query = new HandleInvitationDeletedIQ(); Boolean isComplete = Boolean.FALSE; while (!isComplete) { if (isStartTa... | 1,114,482 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser(parser); final HandleInvitationDeclinedIQ query = new HandleInvitationDeclinedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser(parser); final HandleInvitationDeclinedIQ query = new HandleInvitationDeclinedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | 1,114,483 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser(parser); final HandleInvitationDeclinedIQ query = new HandleInvitationDeclinedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser(parser); final HandleInvitationDeclinedIQ query = new HandleInvitationDeclinedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { ... | 1,114,484 |
void delete(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); try { final Container container = read(containerId); if (isDistributed(container.getId())) { final TeamMember localTeamMember = localTeamMember(container... | void delete(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); try { final Container container = read(containerId); if (isDistributed(container.getId())) { final TeamMember localTeamMember = localTeamMember(container... | 1,114,486 |
void restoreBackup() { logger.logApiId(); try { final List<Container> containers = read(); if (0 < containers.size()) { logger.logWarning("{0} containers will be deleted.", containers.size()); for (final Container container : containers) { ... | void restoreBackup() { logger.logApiId(); try { final List<Container> containers = read(); if (0 < containers.size()) { logger.logWarning("{0} containers will be deleted.", containers.size()); for (final Container container : containers) { ... | 1,114,487 |
private void flagKey(final Document document) throws ParityException { Assert.assertNotTrue( "flagKey(Document)", document.contains(ParityObjectFlag.KEY)); document.add(ParityObjectFlag.SEEN); update(document); } | private void flagKey(final Document document) throws ParityException { Assert.assertNotTrue( "flagKey(Document)", document.contains(ParityObjectFlag.KEY)); document.add(ParityObjectFlag.KEY); update(document); } | 1,114,488 |
DocumentVersion createVersion(final Long documentId) throws ParityException { logger.info("createVersion(Long)"); logger.debug(documentId); assertLoggedInUserIsKeyHolder(documentId); try { final Document document = get(documentId); final DocumentContent content = getContent(documentId); // read the document ... | DocumentVersion createVersion(final Long documentId) throws ParityException { logger.info("createVersion(Long)"); logger.debug(documentId); assertLoggedInUserIsKeyHolder(documentId); try { final Document document = get(documentId); final DocumentContent content = getContent(documentId); // read the document ... | 1,114,489 |
DocumentVersion createVersion(final Long documentId) throws ParityException { logger.info("createVersion(Long)"); logger.debug(documentId); assertLoggedInUserIsKeyHolder(documentId); try { final Document document = get(documentId); final DocumentContent content = getContent(documentId); // read the document ... | DocumentVersion createVersion(final Long documentId) throws ParityException { logger.info("createVersion(Long)"); logger.debug(documentId); assertLoggedInUserIsKeyHolder(documentId); try { final Document document = get(documentId); final DocumentContent content = getContent(documentId); // read the document ... | 1,114,490 |
public Object internalGet( String key ) { // make the four scopes of the Apocalypse Read only if ( key.equals( REQUEST )) { return request; } else if( key.equals(RESPONSE) ) { return response; } else if ( key.equals(SESSION) ) {... | public Object internalGet( String key ) { // make the four scopes of the Apocalypse Read only if ( key.equals( REQUEST )) { return request; } else if( key.equals(RESPONSE) ) { return response; } else if ( key.equals(SESSION) ) {... | 1,114,491 |
public Object internalGet( String key ) { // make the four scopes of the Apocalypse Read only if ( key.equals( REQUEST )) { return request; } else if( key.equals(RESPONSE) ) { return response; } else if ( key.equals(SESSION) ) {... | public Object internalGet( String key ) { // make the four scopes of the Apocalypse Read only if ( key.equals( REQUEST )) { return request; } else if( key.equals(RESPONSE) ) { return response; } else if ( key.equals(SESSION) ) {... | 1,114,492 |
private void bootstrapLog4J() { final Properties logging = bootstrapLog4JConfig(mode); // console appender logging.setProperty("log4j.appender.CONSOLE", "org.apache.log4j.ConsoleAppender"); logging.setProperty("log4j.appender.CONSOLE.layout", "org.apache.log4j.PatternLayout"); log... | private void bootstrapLog4J() { final Properties logging = bootstrapLog4JConfig(mode); // console appender logging.setProperty("log4j.appender.CONSOLE", "org.apache.log4j.ConsoleAppender"); logging.setProperty("log4j.appender.CONSOLE.layout", "org.apache.log4j.PatternLayout"); log... | 1,114,494 |
private void bootstrapLog4J() { final Properties logging = bootstrapLog4JConfig(mode); // console appender logging.setProperty("log4j.appender.CONSOLE", "org.apache.log4j.ConsoleAppender"); logging.setProperty("log4j.appender.CONSOLE.layout", "org.apache.log4j.PatternLayout"); log... | private void bootstrapLog4J() { final Properties logging = bootstrapLog4JConfig(mode); // console appender logging.setProperty("log4j.appender.CONSOLE", "org.apache.log4j.ConsoleAppender"); logging.setProperty("log4j.appender.CONSOLE.layout", "org.apache.log4j.PatternLayout"); log... | 1,114,495 |
private void bootstrapLog4J() { final Properties logging = bootstrapLog4JConfig(mode); // console appender logging.setProperty("log4j.appender.CONSOLE", "org.apache.log4j.ConsoleAppender"); logging.setProperty("log4j.appender.CONSOLE.layout", "org.apache.log4j.PatternLayout"); log... | private void bootstrapLog4J() { final Properties logging = bootstrapLog4JConfig(mode); // console appender logging.setProperty("log4j.appender.CONSOLE", "org.apache.log4j.ConsoleAppender"); logging.setProperty("log4j.appender.CONSOLE.layout", "org.apache.log4j.PatternLayout"); log... | 1,114,496 |
private void bootstrapLog4J() { final Properties logging = bootstrapLog4JConfig(mode); // console appender logging.setProperty("log4j.appender.CONSOLE", "org.apache.log4j.ConsoleAppender"); logging.setProperty("log4j.appender.CONSOLE.layout", "org.apache.log4j.PatternLayout"); log... | private void bootstrapLog4J() { final Properties logging = bootstrapLog4JConfig(mode); // console appender logging.setProperty("log4j.appender.CONSOLE", "org.apache.log4j.ConsoleAppender"); logging.setProperty("log4j.appender.CONSOLE.layout", "org.apache.log4j.PatternLayout"); log... | 1,114,497 |
private void bootstrapLog4J() { final Properties logging = bootstrapLog4JConfig(mode); // console appender logging.setProperty("log4j.appender.CONSOLE", "org.apache.log4j.ConsoleAppender"); logging.setProperty("log4j.appender.CONSOLE.layout", "org.apache.log4j.PatternLayout"); log... | private void bootstrapLog4J() { final Properties logging = bootstrapLog4JConfig(mode); // console appender logging.setProperty("log4j.appender.CONSOLE", "org.apache.log4j.ConsoleAppender"); logging.setProperty("log4j.appender.CONSOLE.layout", "org.apache.log4j.PatternLayout"); log... | 1,114,498 |
private void doInitialize(final TestSession testSession) { doInititializeLogging(testSession); doInitializeStreams(testSession); } | private void doInitialize(final TestSession testSession) { bootstrapLog4J(testSession.getOutputDirectory()); doInitializeStreams(testSession); } | 1,114,499 |
public void run() { window.open(avatar); } | public void run() { status.clearStatusMessage(area); } | 1,114,501 |
public void run() { status.clearStatusMessage(area); } | public void run() { invoke(ActionId.PUBLISH_DOCUMENT, data); } | 1,114,502 |
public List<DocumentVersion> readArchiveDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { synchronized (getImplLock()) { return getImpl().readArchiveDocumentVersions(userId, uniqueId, versionId... | public List<DocumentVersion> readArchiveDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { synchronized (getImplLock()) { return getImpl().readArchiveDocumentVersions(userId, uniqueId, versionId... | 1,114,503 |
public List<DocumentVersion> readArchiveDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { synchronized (getImplLock()) { return getImpl().readArchiveDocumentVersions(userId, uniqueId, versionId... | public List<DocumentVersion> readArchiveDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { synchronized (getImplLock()) { return getImpl().readArchiveDocumentVersions(userId, uniqueId, versionId... | 1,114,504 |
public MainProvider(final ArtifactModel artifactModel, final DocumentModel dModel, final SessionModel sModel, final SystemMessageModel systemMessageModel) { super(); this.documentProvider = new SingleContentProvider() { public Object getElement(final Object input) { final Long documentId =... | public MainProvider(final ArtifactModel artifactModel, final DocumentModel dModel, final SessionModel sModel, final SystemMessageModel systemMessageModel, final JabberId loggedInUserId) { super(); this.documentProvider = new SingleContentProvider() { public Object getElement(final Object inpu... | 1,114,505 |
public MainProvider(final ArtifactModel artifactModel, final DocumentModel dModel, final SessionModel sModel, final SystemMessageModel systemMessageModel) { super(); this.documentProvider = new SingleContentProvider() { public Object getElement(final Object input) { final Long documentId =... | public MainProvider(final ArtifactModel artifactModel, final DocumentModel dModel, final SessionModel sModel, final SystemMessageModel systemMessageModel) { super(); this.documentProvider = new SingleContentProvider() { public Object getElement(final Object input) { final Long documentId =... | 1,114,506 |
public Object[] getElements(final Object input) { final MainCellDocument mcd = (MainCellDocument) input; try { return toDisplay(sModel, mcd, dModel.readHistory(mcd.getId())); } catch(final ParityException px) { throw new RuntimeException(px); } } | public Object[] getElements(final Object input) { final MainCellDocument mcd = (MainCellDocument) input; try { return toDisplay(sModel, loggedInUserId, mcd, dModel.readHistory(mcd.getId())); } catch(final ParityException px) { throw new RuntimeException(px); } ... | 1,114,507 |
private void triggerOnline(final Browser application, final JPopupMenu jPopupMenu, final MouseEvent e) { if(document.isUrgent()) { final List<KeyRequest> keyRequests = document.getKeyRequests(); if(keyRequests.size() >= 1) { final Set<JabberId> requestedBySet = new HashSe... | private void triggerOnline(final Browser application, final JPopupMenu jPopupMenu, final MouseEvent e) { if(document.isUrgent()) { final List<KeyRequest> keyRequests = document.getKeyRequests(); if(keyRequests.size() >= 1) { final Set<JabberId> requestedBySet = new HashSe... | 1,114,508 |
public void paintComponent(Graphics g) { int earthRadius = 50; Dimension d = getSize(); g.setColor(new Color((float) 0.0, (float) 0.0, (float) 0.0, (float) 0.01)); // g.setColor(Color.black); g.fillRect(0, 0, d.width, d.height); g.setColor(getForeground()); g.drawOva... | public void paintComponent(Graphics g) { int earthRadius = 50; Dimension d = getSize(); if (firstFrame) { firstFrame = false; g.setColor(getBackground()); g.fillRect(0, 0, d.width, d.height); } g.setColor(new Color((float) 0.0, (float) 0.0, (float) 0.0, (float) 0.01)); // g.setColor(Col... | 1,114,509 |
public String getID() { return getProperty(keyIdentifier); } | public String getID() { return getStringProperty(keyIdentifier); } | 1,114,511 |
public void launch() { velocity.theta = -2.0; velocity.r = 40.0 + Math.random(); accel.theta = 0.5; accel.r = -7.5 - Math.random(); state = STATE_LAUNCH; } | public void launch() { velocity.theta = -2.0; accel.theta = 0.5; accel.r = -7.5 - Math.random(); state = STATE_LAUNCH; } | 1,114,512 |
public void launch() { velocity.theta = -2.0; velocity.r = 40.0 + Math.random(); accel.theta = 0.5; accel.r = -7.5 - Math.random(); state = STATE_LAUNCH; } | public void launch() { velocity.theta = -2.0; velocity.r = 40.0 + Math.random(); accel.theta = 0.75; accel.r = -7.5 - Math.random(); state = STATE_LAUNCH; } | 1,114,513 |
void login(final String username, final String password) throws ParityException { logger.info("login(String,String)"); logger.debug(username); logger.debug(mask(password)); final String host = preferences.getServerHost(); final Integer port = preferences.getServerPort(); synchronized(xmppHelperLock) { try { ... | void login(final String username, final String password) throws ParityException { logger.info("login(String,String)"); logger.debug(username); logger.debug(mask(password)); final String host = preferences.getServerHost(); final Integer port = preferences.getServerPort(); synchronized(xmppHelperLock) { try { ... | 1,114,515 |
public WorkspaceImpl(final File workspace) { super(); this.logger = Logger.getLogger(getClass()); this.mode = Mode.valueOf(System.getProperty("thinkparity.mode")); this.workspace = initRoot(workspace); bootstrapLogging(); } | public WorkspaceImpl(final File workspace) { super(); this.logger = Logger.getLogger(getClass()); this.mode = Mode.valueOf(System.getProperty("thinkparity.mode")); this.workspace = initRoot(workspace); bootstrapLog4J(); } | 1,114,517 |
private ConfirmDialog() { super("ConfirmDialog"); initComponents(); } | private ConfirmDialog() { super("ConfirmDialog"); initComponents(); } | 1,114,518 |
protected AbstractXMPP(final XMPPCore xmppCore) { super(); this.listeners = new ArrayList<T>(); this.logger = new Log4JWrapper(); this.xmppCore = xmppCore; this.xstream = new XStream(); } | protected AbstractXMPP(final XMPPCore xmppCore) { super(); this.listeners = new ArrayList<T>(); this.logger = new Log4JWrapper(StackUtil.getCallerClassName()); this.xmppCore = xmppCore; this.xstream = new XStream(); } | 1,114,519 |
protected void notifyListeners(final EventNotifier<T> notifier) { synchronized (listeners) { for (final T listener : listeners) { notifier.notifyListener(listener); } } } | protected void notifyListeners(final EventNotifier<T> notifier) { synchronized (listeners) { for (final T listener : listeners) { try { notifier.notifyListener(listener); } catch (final Throwable t) { logger.logError(t, "Could not handle remote event {0} for listener {1}.", notifier... | 1,114,522 |
public AirBrush(String plugname, String hostname, Integer port) { connect(plugname, hostname, port); } | public AirBrush(String plugname, String hostname, Integer port) { connect(plugname, hostname, port); } | 1,114,525 |
public void service() { logApiId(); final List<JabberId> teamIds = logVariable("teamIds", readTeamIds(readUUID("uniqueId"))); writeJabberIds("teamIds", "teamIds", teamIds); } | public void service() { logApiId(); final List<JabberId> teamIds = logger.logVariable("teamIds", readTeamIds(readUUID("uniqueId"))); writeJabberIds("teamIds", "teamIds", teamIds); } | 1,114,526 |
private void reloadInfo() { infoJLabel.setText(getString("Info.Empty")); if(isTestMode()) { final Contact contact = getContact(); final Object[] infoParityUserArguments = new Object[] { contact.getFirstName(), contact.getLastName(), contact.getOrganization() }; final StringBuffer buffer = new ... | private void reloadInfo() { infoJLabel.setText(getString("Info.Empty")); if(getController().isFilterEnabled()) { infoJLabel.setText(getString("Info.FilterOn")); } else if(isTestMode()) { final Contact contact = getContact(); final Object[] infoParityUserArguments = new Object[] { contact.getFirstName(), ... | 1,114,527 |
private Long insertTestDataLibrary(final HypersonicSession session, final Library.Type type, final String groupId, final String artifactId, final String version, final String path, final Calendar createdOn, final byte[] bytes) { session.prepareStatement(INSERT_TEST_DATA_LIBRA... | private Long insertTestDataLibrary(final HypersonicSession session, final Library.Type type, final String groupId, final String artifactId, final String version, final String path, final Calendar createdOn, final byte[] bytes) { session.prepareStatement(INSERT_TEST_DATA_LIBRA... | 1,114,528 |
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | 1,114,529 |
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | 1,114,530 |
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | 1,114,531 |
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | 1,114,532 |
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | 1,114,533 |
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | 1,114,534 |
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; containerJLabel = createTab(TabId.CONTAINER, Boolean.TRUE).jLabel; contactJLabel = createTab(TabId.CONTACT, Boolean.FALSE).jLabel; nameJLabel = new javax.swing.JLabel(); fillJLabel = new javax.swing.JL... | 1,114,535 |
private void reloadDisplay() { reloadDisplayTab(); reloadDisplayName(); } | private void reloadDisplay() { reloadDisplayTab(); reloadDisplayName(); } | 1,114,536 |
Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | 1,114,538 |
Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | 1,114,539 |
Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | 1,114,540 |
Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | 1,114,541 |
Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | 1,114,542 |
Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | 1,114,543 |
DocumentVersion createVersion(final Long documentId) throws ParityException { logger.info("createVersion(Long)"); logger.debug(documentId); assertLoggedInUserIsKeyHolder(documentId); try { final Document document = get(documentId); final DocumentContent content = getContent(documentId); // read the document ... | DocumentVersion createVersion(final Long documentId) throws ParityException { logger.info("createVersion(Long)"); logger.debug(documentId); assertLoggedInUserIsKeyHolder(documentId); try { final Document document = get(documentId); final DocumentContent content = getContent(documentId); // read the document ... | 1,114,544 |
void open(final Long documentId) throws ParityException { logger.info("open(Long)"); logger.debug(documentId); try { final Document document = get(documentId); // open the local file final LocalFile localFile = getLocalFile(document); localFile.open(); // flag it as having been seen flagAsSEEN(document)... | void open(final Long documentId) throws ParityException { logger.info("[LMODEL] [DOCUMENT] [OPEN]"); logger.debug(documentId); try { final Document document = get(documentId); // open the local file final LocalFile localFile = getLocalFile(document); localFile.open(); // flag it as having been seen flag... | 1,114,545 |
void open(final Long documentId) throws ParityException { logger.info("open(Long)"); logger.debug(documentId); try { final Document document = get(documentId); // open the local file final LocalFile localFile = getLocalFile(document); localFile.open(); // flag it as having been seen flagAsSEEN(document)... | void open(final Long documentId) throws ParityException { logger.info("open(Long)"); logger.debug(documentId); try { final Document document = get(documentId); // open the local file final LocalFile localFile = getLocalFile(document); localFile.open(); // flag it as having been seen final InternalArtifa... | 1,114,546 |
void receive(final XMPPDocument xmppDocument) throws ParityException { logger.info("receiveDocument(XMPPDocument)"); logger.debug(xmppDocument); try { final JabberId receivedFromJabberId = JabberIdBuilder.parseUsername(xmppDocument.getReceivedFrom()); Document document = get(xmppDocument.getUniqueId()); lo... | void receive(final XMPPDocument xmppDocument) throws ParityException { logger.info("receiveDocument(XMPPDocument)"); logger.debug(xmppDocument); try { final JabberId receivedFromJabberId = JabberIdBuilder.parseUsername(xmppDocument.getReceivedFrom()); Document document = get(xmppDocument.getUniqueId()); lo... | 1,114,547 |
void receive(final XMPPDocument xmppDocument) throws ParityException { logger.info("receiveDocument(XMPPDocument)"); logger.debug(xmppDocument); try { final JabberId receivedFromJabberId = JabberIdBuilder.parseUsername(xmppDocument.getReceivedFrom()); Document document = get(xmppDocument.getUniqueId()); lo... | void receive(final XMPPDocument xmppDocument) throws ParityException { logger.info("receiveDocument(XMPPDocument)"); logger.debug(xmppDocument); try { final JabberId receivedFromJabberId = JabberIdBuilder.parseUsername(xmppDocument.getReceivedFrom()); Document document = get(xmppDocument.getUniqueId()); lo... | 1,114,548 |
private void receiveUpdate(final XMPPDocument xmppDocument, final Document document) throws FileNotFoundException, IOException, ParityException { final DocumentVersion version = new DocumentVersion(); version.setArtifactId(document.getId()); version.setArtifactType(document.getType()); version.setArtifactUniqu... | private void receiveUpdate(final XMPPDocument xmppDocument, final Document document) throws FileNotFoundException, IOException, ParityException { final DocumentVersion version = new DocumentVersion(); version.setArtifactId(document.getId()); version.setArtifactType(document.getType()); version.setArtifactUniqu... | 1,114,549 |
private void receiveUpdate(final XMPPDocument xmppDocument, final Document document) throws FileNotFoundException, IOException, ParityException { final DocumentVersion version = new DocumentVersion(); version.setArtifactId(document.getId()); version.setArtifactType(document.getType()); version.setArtifactUniqu... | private void receiveUpdate(final XMPPDocument xmppDocument, final Document document) throws FileNotFoundException, IOException, ParityException { final DocumentVersion version = new DocumentVersion(); version.setArtifactId(document.getId()); version.setArtifactType(document.getType()); version.setArtifactUniqu... | 1,114,550 |
private JPopupMenu doCreatePopup() { return new JPopupMenu(); } | private JPopupMenu doCreatePopup() { JPopupMenu jPopupMenu = new JPopupMenu(); jPopupMenu.addPopupMenuListener(new PopupMenuListener() { public void popupMenuCanceled(PopupMenuEvent e) { } public void popupMenuWillBecomeInvisible(PopupMenuEvent e) { final Timer popupTimer = new Timer(PopupMenuInfo.ACTIVATION_DELAY, n... | 1,114,552 |
private void debugLongParameters(final String listName, final String name, final List<Long> values) {} | private void debugLongParameters(final String listName, final String name, final List<Long> values) {} | 1,114,554 |
final void setLongParameters(final String listName, final String name, final List<Long> values) { final List<Parameter> parameters = new LinkedList<Parameter>(); for(final Long value : values) parameters.add(new Parameter(name, Long.class, value)); this.parameters.add(new ... | public final void setLongParameters(final String listName, final String name, final List<Long> values) { final List<Parameter> parameters = new LinkedList<Parameter>(); for(final Long value : values) parameters.add(new Parameter(name, Long.class, value)); this.parameters.a... | 1,114,555 |
public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { setText(((Scenario) value).getDisplayName()); if (isSelected) { setForeground(Swing.LIST... | public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { setText(((Scenario) value).getDisplayName()); if (isSelected) { setForeground(Swing.LIST... | 1,114,556 |
public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { setText(((Scenario) value).getDisplayName()); if (isSelected) { setForeground(Swing.LIST... | public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { setText(((Scenario) value).getDisplayName()); if (isSelected) { setForeground(Swing.LIST... | 1,114,557 |
public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { setText(((Scenario) value).getDisplayName()); if (isSelected) { setForeground(Swing.LIST... | public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { setText(((Scenario) value).getDisplayName()); if (isSelected) { setForeground(Swing.LIST... | 1,114,558 |
public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { setText(((Scenario) value).getDisplayName()); if (isSelected) { setForeground(Swing.LIST... | public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { setText(((Scenario) value).getDisplayName()); if (isSelected) { setForeground(Swing.LIST... | 1,114,559 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.