bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleArtifactPublishedIQ query = new HandleArtifactPublishedIQ(); Boolean isComplete = Boolean.FALSE; while(Boolean.FALSE == isComplete) { ...
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleArtifactPublishedIQ query = new HandleArtifactPublishedIQ(); Boolean isComplete = Boolean.FALSE; while(Boolean.FALSE == isComplete) { ...
1,115,008
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleArtifactPublishedIQ query = new HandleArtifactPublishedIQ(); Boolean isComplete = Boolean.FALSE; while(Boolean.FALSE == isComplete) { ...
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleArtifactPublishedIQ query = new HandleArtifactPublishedIQ(); Boolean isComplete = Boolean.FALSE; while(Boolean.FALSE == isComplete) { ...
1,115,009
private void validateClassName() { try { Class objectClass = Class.forName(this.className); } catch (ClassNotFoundException e) { throw new JcrMappingException("Class not found : " + className); } }
private void validateClassName() { try { Class objectClass = Class.forName(this.className); } catch (ClassNotFoundException e) { throw new JcrMappingException("Class not found : " + className); } }
1,115,010
private void handleIncomingStory(Message msg) { Story s = Story.createFromYAML(msg.content); String t = "iceland"; Analysis a = doAnalysis(s, t); if (a.isRelevant()) { Message m = new Message(); m.to = "WB.Analyses"; m.content = a.toYAML(); ...
private void handleIncomingStory(Message msg) { Story s = Story.createFromYAML(msg.content); String t = "iceland"; Analysis a = doAnalysis(s, t); if (a.isRelevant()) { Message m = new Message(); m.to = "WB.Analyses"; m.content = a.toYAML(); ...
1,115,011
protected static void assertNotNull(final String assertion, final Collection<DocumentVersion> versions) { assertNotNull(assertion + " [DOCUMENT VERSIONS IS NULL]", (Object) versions); for(final DocumentVersion version : versions) { assertNotNull(assertion, version); } }
protected static void assertNotNull(final String assertion, final Collection<DocumentVersion> versions) { assertNotNull(assertion + " [DOCUMENT VERSIONS IS NULL]", (Object) versions); for(final DocumentVersion version : versions) { assertNotNull(assertion, version); } }
1,115,012
DocumentVersion handleDocumentPublished( final ContainerArtifactPublishedEvent event) { logger.logApiId(); logger.logVariable("event", event); return handleDocumentSent(event.getPublishedBy(), event.getPublishedOn(), event.getArtifactUniqueId(), event.ge...
DocumentVersion handleDocumentPublished( final ContainerArtifactPublishedEvent event) { logger.logApiId(); logger.logVariable("event", event); return handleDocumentSent(event.getPublishedBy(), event.getPublishedOn(), event.getArtifactUniqueId(), event.ge...
1,115,013
Boolean isDraftModified(final Long documentId) { logger.logApiId(); logger.logVariable("documentId", documentId); try { final InternalArtifactModel artifactModel = getInternalArtifactModel(); if (artifactModel.doesVersionExist(documentId, Versioning.START)) { final Documen...
Boolean isDraftModified(final Long documentId) { logger.logApiId(); logger.logVariable("documentId", documentId); try { final InternalArtifactModel artifactModel = getArtifactModel(); if (artifactModel.doesVersionExist(documentId, Versioning.START)) { final Document docume...
1,115,014
protected AbstractModelImpl(final Environment environment, final Workspace workspace) { super(); this.environment = environment; this.internalModelFactory = new InternalModelFactory(getContext(), environment, workspace); this.l18n = new Localization(LocalizationContext.MODEL);...
protected AbstractModelImpl(final Environment environment, final Workspace workspace) { super(); this.environment = environment; this.internalModelFactory = new InternalModelFactory(getContext(), environment, workspace); this.l18n = new Localization(LocalizationContext.MODEL);...
1,115,015
public void addListener(final ArtifactListener listener);
public <T extends XMPPEvent> void addListener(final Class<T> eventClass, final XMPPEventListener<T> listener);
1,115,016
public void removeListener(final ArtifactListener listener);
public void removeListener(final SessionListener listener);
1,115,017
static void notifyKeyRequestDenied(final UUID artifactUniqueId, final JabberId deniedBy) throws ParityException { final Document document = DocumentModel.getInternalModel(sContext).get(artifactUniqueId); SystemMessageModel.getInternalModel(sContext). createKeyResponse(document.getId(), Boolean.FALSE, deniedBy)...
static void notifyKeyRequestDenied(final UUID artifactUniqueId, final JabberId deniedBy) throws ParityException { final Document document = DocumentModel.getInternalModel(sContext).get(artifactUniqueId); SystemMessageModel.getInternalModel(sContext). createKeyResponse(document.getId(), Boolean.FALSE, deniedBy)...
1,115,018
ArtifactIOHandler() { super(); }
public ArtifactIOHandler() { super(); }
1,115,021
List<ArtifactFlag> getFlags(final Long artifactId) throws HypersonicException { final Session session = openSession(); try { return getFlags(session, artifactId); } finally { session.close(); } }
public List<ArtifactFlag> getFlags(final Long artifactId) throws HypersonicException { final Session session = openSession(); try { return getFlags(session, artifactId); } finally { session.close(); } }
1,115,022
public void addTool(ToolInfo info) { if (info instanceof DataInfo) { //add static data to the appTools map appTools.put(info.getKey(), info.getInstance(null)); } else if (info instanceof ServletToolInfo) { ServletToolInfo sti = (ServletToolInfo)...
public void addTool(ToolInfo info) { if (validateToolInfo(info)) { //add static data to the appTools map appTools.put(info.getKey(), info.getInstance(null)); } else if (info instanceof ServletToolInfo) { ServletToolInfo sti = (ServletToolInfo)in...
1,115,023
public void addTool(ToolInfo info) { if (info instanceof DataInfo) { //add static data to the appTools map appTools.put(info.getKey(), info.getInstance(null)); } else if (info instanceof ServletToolInfo) { ServletToolInfo sti = (ServletToolInfo)...
public void addTool(ToolInfo info) { if (info instanceof DataInfo) { //add static data to the appTools map appTools.put(info.getKey(), info.getInstance(null)); } else if (info instanceof ServletToolInfo) { ServletToolInfo sti = (ServletToolInfo)...
1,115,024
public void addTool(ToolInfo info) { if (info instanceof DataInfo) { //add static data to the appTools map appTools.put(info.getKey(), info.getInstance(null)); } else if (info instanceof ServletToolInfo) { ServletToolInfo sti = (ServletToolInfo)...
public void addTool(ToolInfo info) { if (info instanceof DataInfo) { //add static data to the appTools map appTools.put(info.getKey(), info.getInstance(null)); } else if (info instanceof ServletToolInfo) { ServletToolInfo sti = (ServletToolInfo)...
1,115,025
public void addTool(ToolInfo info) { if (info instanceof DataInfo) { //add static data to the appTools map appTools.put(info.getKey(), info.getInstance(null)); } else if (info instanceof ServletToolInfo) { ServletToolInfo sti = (ServletToolInfo)...
public void addTool(ToolInfo info) { if (info instanceof DataInfo) { //add static data to the appTools map appTools.put(info.getKey(), info.getInstance(null)); } else if (info instanceof ServletToolInfo) { ServletToolInfo sti = (ServletToolInfo)...
1,115,026
public void addTool(ToolInfo info) { if (info instanceof DataInfo) { //add static data to the appTools map appTools.put(info.getKey(), info.getInstance(null)); } else if (info instanceof ServletToolInfo) { ServletToolInfo sti = (ServletToolInfo)...
public void addTool(ToolInfo info) { if (info instanceof DataInfo) { //add static data to the appTools map appTools.put(info.getKey(), info.getInstance(null)); } else if (info instanceof ServletToolInfo) { ServletToolInfo sti = (ServletToolInfo)...
1,115,027
public void setVisible(boolean b) { if (b) { setLocation(calculateLocation()); new NativeSkin().roundCorners(this); } super.setVisible(b); }
public void setVisible(boolean b) { if (b) { setLocation(calculateLocation()); } super.setVisible(b); }
1,115,028
public void windowClosed(final WindowEvent e) { synchronized(this) { notifyAll(); } }
public void windowClosed(final WindowEvent e) { synchronized(this) { notifyAll(); } }
1,115,029
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { final Project project = (Project) source; writeName(project.getName(), writer); writeCreatedBy(project.getCreatedBy(), writer); writeKeyHolder(project, writer); writeId(project.getId(), writer); writeCreatedOn(pro...
public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { final Project project = (Project) source; writeName(project.getName(), writer); writeCreatedBy(project.getCreatedBy(), writer); writeId(project.getId(), writer); writeCreatedOn(project.getCreatedOn(), writer); w...
1,115,031
private static CloseHistoryItem buildCloseHistoryItem( final Document document, final CloseEvent closeEvent) { final CloseHistoryItem closeHistoryItem = new CloseHistoryItem(); closeHistoryItem.setDate(closeEvent.getCreatedOn()); closeHistoryItem.setDocumentId(closeEvent.getArtifactId()); closeHistoryItem.setEve...
private static CloseHistoryItem buildCloseHistoryItem( final Document document, final CloseEvent closeEvent, final Map<JabberId, User> closeEventUsers) { final CloseHistoryItem closeHistoryItem = new CloseHistoryItem(); closeHistoryItem.setDate(closeEvent.getCreatedOn()); closeHistoryItem.setDocumentId(closeEvent...
1,115,032
public static HistoryItem create(final Document document, final AuditEvent auditEvent, final Map<JabberId, User> auditEventUsers) throws ParityException { switch(auditEvent.getType()) { case CLOSE: return buildCloseHistoryItem(document, (CloseEvent) auditEvent); case CREATE: return buildCreateHistoryItem(docume...
public static HistoryItem create(final Document document, final AuditEvent auditEvent, final Map<JabberId, User> auditEventUsers) throws ParityException { switch(auditEvent.getType()) { case CLOSE: return buildCloseHistoryItem(document, (CloseEvent) auditEvent, auditEventUsers); case CREATE: return buildCreateH...
1,115,034
public void containerDeleted(ContainerEvent e) { didNotify = Boolean.TRUE; assertTrue(NAME + " [EVENT GENERATED IS NOT LOCAL]", e.isLocal()); assertTrue(NAME + " [EVENT GENERATED IS REMOTE]", !e.isRemote()); assertNull(NAME + " [EVENT CONTAINER IS NOT NULL]", e.getCon...
public void containerDeleted(ContainerEvent e) { didNotify = Boolean.TRUE; assertTrue(NAME + " [EVENT GENERATED IS NOT LOCAL]", e.isLocal()); assertTrue(NAME + " [EVENT GENERATED IS REMOTE]", !e.isRemote()); assertNotNull(NAME + " EVENT CONTAINER IS NOT NULL", e.getCo...
1,115,036
public void handleReceived(final UUID uniqueId, final Long versionId, final JabberId receivedBy, final Calendar receivedOn) { logger.logApiId(); getArtifactModel().handleReceived(uniqueId, versionId, receivedBy, recei...
public void handleReceived(final UUID uniqueId, final Long versionId, final JabberId receivedBy, final Calendar receivedOn) { getArtifactModel().handleReceived(uniqueId, versionId, receivedBy, receivedOn); ...
1,115,037
private DocumentListener createDocumentListener() { return new DocumentAdapter() { public void documentClosed(final DocumentEvent e) { if(e.isRemote()) systemApplication.fireDocumentClosed(e.getDocument()); } public void documentCreated(final Document...
private DocumentListener createDocumentListener() { return new DocumentAdapter() { public void documentClosed(final DocumentEvent e) { if(e.isRemote()) systemApplication.fireDocumentClosed(e.getDocument()); } public void documentCreated(final Document...
1,115,039
public StringTypeConverterImpl(ValueFactory factory) { super(factory); }
public StringTypeConverterImpl(ValueFactory factory) { super(factory); }
1,115,042
public Filter addAndFilter(Filter filter) { if ( null == jcrExpression || "".equals(jcrExpression) ) { jcrExpression = ((FilterImpl) filter).getJcrExpression() ; } else { jcrExpression = "(" + jcrExpression + ") and ( " + ((FilterImpl) filter).getJcrExpression() + ")"; ...
public Filter addAndFilter(Filter filter) { if ( null == jcrExpression || "".equals(jcrExpression) ) { jcrExpression = ((FilterImpl) filter).getJcrExpression() ; } else { jcrExpression = "(" + jcrExpression + ") and ( " + ((FilterImpl) filter).getJcrExpression() + ")"; ...
1,115,043
final void setLibraryParameters(final String listName, final String name, final List<Library> values) { final List<Parameter> parameters = new LinkedList<Parameter>(); for(final Library value : values) parameters.add(new Parameter(name, Library.class, value)); this.paramet...
public final void setLibraryParameters(final String listName, final String name, final List<Library> values) { final List<Parameter> parameters = new LinkedList<Parameter>(); for(final Library value : values) parameters.add(new Parameter(name, Library.class, value)); this....
1,115,045
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); final ContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); addDocuments(OpheliaTestUser.JUNIT, cont...
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); final ContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); addDocuments(OpheliaTestUser.JUNIT, cont...
1,115,046
private PersistenceFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); final Workspace workspace = modelFactory.getWorkspace(PersistenceFactory.class); this.cache = new Hashtable<Class, Persistence>(7, 0.75F); this.javaProperties = load(workspace, getFile(workspace)); /...
private PersistenceFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); final Workspace workspace = modelFactory.getWorkspace(PersistenceFactory.class); this.cache = new Hashtable<Class, Persistence>(7, 0.75F); this.javaProperties = load(file); // save the preferences on...
1,115,047
private PersistenceFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); final Workspace workspace = modelFactory.getWorkspace(PersistenceFactory.class); this.cache = new Hashtable<Class, Persistence>(7, 0.75F); this.javaProperties = load(workspace, getFile(workspace)); /...
private PersistenceFactory() { super(); final ModelFactory modelFactory = ModelFactory.getInstance(); final Workspace workspace = modelFactory.getWorkspace(PersistenceFactory.class); this.cache = new Hashtable<Class, Persistence>(7, 0.75F); this.javaProperties = load(workspace, getFile(workspace)); /...
1,115,048
public void run() { store(workspace); }
public void run() { store(javaProperties, file); }
1,115,049
private void init(final Workspace workspace, final File persistenceFile) throws IOException { if(!persistenceFile.exists()) { Assert.assertTrue( "[LBROWSER] [PLATFORM] [UTIL] [PERSISTENCE FACTORY INIT] [CANNOT CREATE PERSISTENCE FILE]", persistenceFile.createNewFile(...
private void init(final Workspace workspace, final File persistenceFile) throws IOException { if(!persistenceFile.exists()) { Assert.assertTrue( "[LBROWSER] [PLATFORM] [UTIL] [PERSISTENCE FACTORY INIT] [CANNOT CREATE PERSISTENCE FILE]", persistenceFile.createNewFile(...
1,115,050
private void init(final Workspace workspace, final File persistenceFile) throws IOException { if(!persistenceFile.exists()) { Assert.assertTrue( "[LBROWSER] [PLATFORM] [UTIL] [PERSISTENCE FACTORY INIT] [CANNOT CREATE PERSISTENCE FILE]", persistenceFile.createNewFile(...
private void init(final Workspace workspace, final File persistenceFile) throws IOException { if(!persistenceFile.exists()) { Assert.assertTrue( "[LBROWSER] [PLATFORM] [UTIL] [PERSISTENCE FACTORY INIT] [CANNOT CREATE PERSISTENCE FILE]", persistenceFile.createNewFile(...
1,115,051
private Properties load(final Workspace workspace, final File persistenceFile) { try { init(workspace, persistenceFile); } catch(final IOException iox) { throw new RuntimeException(iox); } final Properties javaProperties = new Properties(); try { javaProperties.load(new FileInputStream(persistenceFile))...
private Properties load(final Workspace workspace, final File persistenceFile) { try { init(workspace, persistenceFile); } catch(final IOException iox) { throw new RuntimeException(iox); } final Properties javaProperties = new Properties(); try { javaProperties.load(new FileInputStream(persistenceFile))...
1,115,052
private Properties load(final Workspace workspace, final File persistenceFile) { try { init(workspace, persistenceFile); } catch(final IOException iox) { throw new RuntimeException(iox); } final Properties javaProperties = new Properties(); try { javaProperties.load(new FileInputStream(persistenceFile))...
private Properties load(final Workspace workspace, final File persistenceFile) { try { init(workspace, persistenceFile); } catch(final IOException iox) { throw new RuntimeException(iox); } final Properties javaProperties = new Properties(); try { javaProperties.load(new FileInputStream(persistenceFile))...
1,115,053
private Properties load(final Workspace workspace, final File persistenceFile) { try { init(workspace, persistenceFile); } catch(final IOException iox) { throw new RuntimeException(iox); } final Properties javaProperties = new Properties(); try { javaProperties.load(new FileInputStream(persistenceFile))...
private Properties load(final Workspace workspace, final File persistenceFile) { try { init(workspace, persistenceFile); } catch(final IOException iox) { throw new RuntimeException(iox); } final Properties javaProperties = new Properties(); try { javaProperties.load(new FileInputStream(persistenceFile))...
1,115,054
private void store(final Workspace workspace) { try { javaProperties.store(new FileOutputStream(getFile(workspace)), ""); } catch(final IOException iox) { throw new RuntimeException(iox); } }
private void store(final Workspace workspace) { try { javaProperties.store(new FileOutputStream(getFile(workspace)), ""); } catch(final IOException iox) { throw new RuntimeException(iox); } }
1,115,055
public CalendarTypeConverterImpl(ValueFactory factory) { super(factory); }
public CalendarTypeConverterImpl(ValueFactory factory) { super(factory); }
1,115,056
User readUser() { logger.logApiId(); try { final XMPPSession xmppSession = workspace.getXMPPSession(); synchronized (xmppSession) { return xmppSession.readCurrentUser(); } } catch (final Throwable t) { throw translateError(t); } ...
User readUser(final JabberId userId) { logger.logApiId(); try { final XMPPSession xmppSession = workspace.getXMPPSession(); synchronized (xmppSession) { return xmppSession.readCurrentUser(); } } catch (final Throwable t) { throw translateE...
1,115,057
User readUser() { logger.logApiId(); try { final XMPPSession xmppSession = workspace.getXMPPSession(); synchronized (xmppSession) { return xmppSession.readCurrentUser(); } } catch (final Throwable t) { throw translateError(t); } ...
User readUser() { logger.logApiId(); try { final XMPPSession xmppSession = workspace.getXMPPSession(); synchronized (xmppSession) { return xmppSession.readUser(userId); } } catch (final Throwable t) { throw translateError(t); } }
1,115,058
public ByteArrayTypeConverterImpl(ValueFactory factory) { super(factory); }
public ByteArrayTypeConverterImpl(ValueFactory factory) { super(factory); }
1,115,060
public DeleteSystemMessage() { super("DeleteSystemMessage", ID, NAME, ICON); }
public DeleteSystemMessage(final Browser browser) { super("DeleteSystemMessage", ID, NAME, ICON); this.browser = browser; }
1,115,061
public void invoke(final Data data) throws Exception { final Long messageId = (Long) data.get(DataKey.SYSTEM_MESSAGE_ID); try { getSystemMessageModel().delete(messageId); } catch(final ParityException px) { throw new RuntimeException(px); } }
public void invoke(final Data data) throws Exception { final Long messageId = (Long) data.get(DataKey.SYSTEM_MESSAGE_ID); try { getSystemMessageModel().delete(messageId); } catch(final ParityException px) { throw new RuntimeException(px); } }
1,115,062
public LongTypeConverterImpl(ValueFactory factory) { super(factory); }
public LongTypeConverterImpl(ValueFactory factory) { super(factory); }
1,115,063
File export(final File exportDirectory, final Long containerId) { logger.logApiId(); logger.logVariable("exportDirectory", exportDirectory); logger.logVariable("containerId", containerId); try { Assert.assertTrue(exportDirectory.isDirectory(), "Export direct...
File export(final File exportDirectory, final Long containerId) { logger.logApiId(); logger.logVariable("exportDirectory", exportDirectory); logger.logVariable("containerId", containerId); try { Assert.assertTrue(exportDirectory.isDirectory(), "Export direct...
1,115,064
File exportVersion(final File exportDirectory, final Long containerId, final Long versionId) { logger.logApiId(); logger.logVariable("exportDirectory", exportDirectory); logger.logVariable("containerId", containerId); logger.logVariable("versionId", versionId); try { ...
File exportVersion(final File exportDirectory, final Long containerId, final Long versionId) { logger.logApiId(); logger.logVariable("exportDirectory", exportDirectory); logger.logVariable("containerId", containerId); logger.logVariable("versionId", versionId); try { ...
1,115,065
List<TeamMember> readTeam(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); return getInternalArtifactModel().readTeam2(containerId); }
List<TeamMember> readTeam(final Long containerId) { logger.logApiId(); logger.logVariable("containerId", containerId); return getInternalArtifactModel().readTeam(containerId, UserComparatorFactory.createName(Boolean.TRUE), FilterManager.createDefault()); }
1,115,067
private Fixture(final Container container, final ContainerModel containerModel) { this.containerModel = containerModel; this.container = container; this.didNotify = Boolean.FALSE; }
private Fixture(final Container container, final ContainerModel containerModel) { this.containerModel = containerModel; this.container = container; this.didNotify = Boolean.FALSE; }
1,115,068
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); final ContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); datum = new Fixture(container, container...
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); final ContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); datum = new Fixture(container, container...
1,115,070
protected void tearDown() throws Exception { datum.containerModel.removeListener(datum); datum = null; logout(OpheliaTestUser.JUNIT); super.tearDown(); }
protected void tearDown() throws Exception { logout(datum.junit); logout(datum.junit_x); logout(datum.junit_y); datum = null; logout(OpheliaTestUser.JUNIT); super.tearDown(); }
1,115,071
protected void tearDown() throws Exception { datum.containerModel.removeListener(datum); datum = null; logout(OpheliaTestUser.JUNIT); super.tearDown(); }
protected void tearDown() throws Exception { datum.containerModel.removeListener(datum); datum = null; super.tearDown(); }
1,115,072
public void testDelete() { datum.containerModel.delete(datum.container.getId()); final Container container = datum.containerModel.read(datum.container.getId()); assertNull(NAME + " [CONTAINER IS NOT NULL]", container); assertTrue(NAME + " [CONTAINER DELETION EVENT NOT FIRED]", datum.didN...
public void testDelete() { final Container c = createContainer(datum.junit, NAME); getContainerModel(datum.junit).addListener(datum); logger.logInfo("Deleting container \"{0}\" as \"{1}.\"", c.getName(), datum.junit_x.getSimpleUsername()); getContainerModel(datum.junit).delete(c.getId()); getContainerModel(d...
1,115,073
public void testDelete() { datum.containerModel.delete(datum.container.getId()); final Container container = datum.containerModel.read(datum.container.getId()); assertNull(NAME + " [CONTAINER IS NOT NULL]", container); assertTrue(NAME + " [CONTAINER DELETION EVENT NOT FIRED]", datum.didN...
public void testDelete() { datum.containerModel.delete(datum.container.getId()); final Container container = datum.containerModel.read(datum.container.getId()); assertNull(NAME + " [CONTAINER IS NOT NULL]", container); assertTrue(NAME + " [CONTAINER DELETION EVENT NOT FIRED]", datum.didN...
1,115,074
public Boolean isComplete() throws IOException { if(getManifestFile().exists()) { FileInputStream fis = null; try { fis = new FileInputStream(getManifestFile()); manifest.load(new FileInputStream(getManifestFile())); File libraryFile; ...
public Boolean isComplete() throws IOException { if(getManifestFile().exists()) { final InputStream stream = new FileInputStream(getManifestFile()); try { fis = new FileInputStream(getManifestFile()); manifest.load(new FileInputStream(getManifestFile())); ...
1,115,075
public Boolean isComplete() throws IOException { if(getManifestFile().exists()) { FileInputStream fis = null; try { fis = new FileInputStream(getManifestFile()); manifest.load(new FileInputStream(getManifestFile())); File libraryFile; ...
public Boolean isComplete() throws IOException { if(getManifestFile().exists()) { FileInputStream fis = null; try { fis = new FileInputStream(getManifestFile()); manifest.load(new FileInputStream(getManifestFile())); File libraryFile; ...
1,115,076
public Boolean isComplete() throws IOException { if(getManifestFile().exists()) { FileInputStream fis = null; try { fis = new FileInputStream(getManifestFile()); manifest.load(new FileInputStream(getManifestFile())); File libraryFile; ...
public Boolean isComplete() throws IOException { if(getManifestFile().exists()) { FileInputStream fis = null; try { fis = new FileInputStream(getManifestFile()); manifest.load(new FileInputStream(getManifestFile())); File libraryFile; ...
1,115,077
public String getDisplay() { return document.getName(); }
public String getDisplay() { if(DISPLAY_MAX_LENGTH < document.getName().length()) { return document.getName().substring(0, DISPLAY_MAX_LENGTH - 1 - 3) + "..."; } else { return document.getName(); } }
1,115,078
public SessionSendFormAvatar() { // COLOR Send Form Background super("SessionSendForm", Color.WHITE); this.contactsModel = new DefaultListModel(); this.contactsSelectionModel = new DefaultListSelectionModel(); this.teamModel = new DefaultListModel(); this.teamSelectionModel = new DefaultListSelectionModel(...
public SessionSendFormAvatar() { // COLOR Send Form Background super("SessionSendForm", Color.WHITE); this.contactsModel = new DefaultListModel(); this.contactsSelectionModel = new DefaultListSelectionModel(); this.teamModel = new DefaultListModel(); this.teamSelectionModel = new DefaultListSelectionModel(...
1,115,079
private void includeKeyJCheckBoxStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_includeKeyJCheckBoxStateChanged if(includeKeyIsSelected != includeKeyJCheckBox.isSelected()) { if(includeKeyJCheckBox.isSelected()) { contactsSelectionModel.setSelectionMode( ListSelectionModel.SINGLE_SELEC...
private void includeKeyJCheckBoxStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_includeKeyJCheckBoxStateChanged if(includeKeyIsSelected != includeKeyJCheckBox.isSelected()) { if(includeKeyJCheckBox.isSelected()) { contactsSelectionModel.setSelectionMode( ListSelectionModel.SINGLE_SELEC...
1,115,080
private void includeKeyJCheckBoxStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_includeKeyJCheckBoxStateChanged if(includeKeyIsSelected != includeKeyJCheckBox.isSelected()) { if(includeKeyJCheckBox.isSelected()) { contactsSelectionModel.setSelectionMode( ListSelectionModel.SINGLE_SELEC...
private void includeKeyJCheckBoxStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_includeKeyJCheckBoxStateChanged if(includeKeyIsSelected != includeKeyJCheckBox.isSelected()) { if(includeKeyJCheckBox.isSelected()) { contactsSelectionModel.setSelectionMode( ListSelectionModel.SINGLE_SELEC...
1,115,081
private void includeKeyJCheckBoxStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_includeKeyJCheckBoxStateChanged if(includeKeyIsSelected != includeKeyJCheckBox.isSelected()) { if(includeKeyJCheckBox.isSelected()) { contactsSelectionModel.setSelectionMode( ListSelectionModel.SINGLE_SELEC...
private void includeKeyJCheckBoxStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_includeKeyJCheckBoxStateChanged if(includeKeyIsSelected != includeKeyJCheckBox.isSelected()) { if(includeKeyJCheckBox.isSelected()) { contactsSelectionModel.setSelectionMode( ListSelectionModel.SINGLE_SELEC...
1,115,082
private void includeKeyJCheckBoxStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_includeKeyJCheckBoxStateChanged if(includeKeyIsSelected != includeKeyJCheckBox.isSelected()) { if(includeKeyJCheckBox.isSelected()) { contactsSelectionModel.setSelectionMode( ListSelectionModel.SINGLE_SELEC...
private void includeKeyJCheckBoxStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_includeKeyJCheckBoxStateChanged if(includeKeyIsSelected != includeKeyJCheckBox.isSelected()) { if(includeKeyJCheckBox.isSelected()) { contactsSelectionModel.setSelectionMode( ListSelectionModel.SINGLE_SELEC...
1,115,083
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; doc...
1,115,084
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,115,085
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,115,086
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,115,087
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,115,088
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,115,089
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,115,090
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,115,091
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,115,092
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,115,093
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,115,094
public void valueChanged(javax.swing.event.ListSelectionEvent e) { teamJListValueChanged(e); }
public void valueChanged(javax.swing.event.ListSelectionEvent e) { contactsJListValueChanged(e); }
1,115,095
public void actionPerformed(java.awt.event.ActionEvent e) { sendJButtonActionPerformed(e); }
public void actionPerformed(java.awt.event.ActionEvent e) { cancelJButtonActionPerformed(e); }
1,115,096
public Boolean isInputValid() { Long documentId; try { documentId = extractDocumentId(); } catch(final Throwable t) { return Boolean.FALSE; } Collection<Contact> contacts = null; try { contacts = extractTeam(); } catch(final Throwable t) { return Boolean.FALSE; } try { contacts.addAll(extractContacts()); } ...
public Boolean isInputValid() { Long documentId; try { documentId = extractDocumentId(); } catch(final Throwable t) { return Boolean.FALSE; } Collection<Contact> contacts = null; try { contacts = extractTeam(); } catch(final Throwable t) { return Boolean.FALSE; } try { contacts.addAll(extractContacts()); } ...
1,115,097
public void reload() { reloadDocument(); reloadIncludeKey(); reloadTeamMembers(); reloadContacts(); reloadVersions(); versionJComboBox.requestFocusInWindow(); }
public void reload() { reloadDocument(); reloadIncludeKey(); reloadTeamMembers(); reloadContacts(); versionJComboBox.requestFocusInWindow(); }
1,115,098
public void reload() { reloadDocument(); reloadIncludeKey(); reloadTeamMembers(); reloadContacts(); reloadVersions(); versionJComboBox.requestFocusInWindow(); }
public void reload() { reloadDocument(); reloadIncludeKey(); reloadTeamMembers(); reloadContacts(); reloadVersions(); includeKeyJCheckBox.requestFocusInWindow(); }
1,115,099
private void reloadDocument() { documentJLabel.setText(getString("DocumentLabel.Empty")); if(null != input) { final Document document = getDocument(); final Object[] arguments = new Object[] {document.getName()}; documentJLabel.setText(getString("DocumentLabel", arguments)); } }
private void reloadDocument() { documentNameJLabel.setText(getString("DocumentNameLabel.Empty")); if(null != input) { final Document document = getDocument(); final Object[] arguments = new Object[] {document.getName()}; documentJLabel.setText(getString("DocumentLabel", arguments)); } ...
1,115,100
private void reloadDocument() { documentJLabel.setText(getString("DocumentLabel.Empty")); if(null != input) { final Document document = getDocument(); final Object[] arguments = new Object[] {document.getName()}; documentJLabel.setText(getString("DocumentLabel", arguments)); } }
private void reloadDocument() { documentJLabel.setText(getString("DocumentLabel.Empty")); if(null != input) { final Document document = getDocument(); final Object[] arguments = new Object[] {document.getName()}; documentNameJLabel.setText(getString("DocumentNameLabel", arguments)); } ...
1,115,101
private void sendJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_sendJButtonActionPerformed if(isInputValid()) { final Long documentId = extractDocumentId(); final List<User> contacts = proxy(extractTeam()); contacts.addAll(proxy(extractContacts())); final Boolean doIncludeKey ...
private void sendJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_sendJButtonActionPerformed if(isInputValid()) { final Long documentId = extractDocumentId(); final List<User> contacts = proxy(extractTeam()); contacts.addAll(proxy(extractContacts())); final Boolean doIncludeKey ...
1,115,102
public Object get(String key) { return new ValueParserSub(this, key); }
public Object get(String key) { return getString(key); }
1,115,103
public void addTeamMember(final UUID uniqueId, final JabberId jabberId) throws SmackException { xmppArtifact.addTeamMember(uniqueId, jabberId); }
public void addTeamMember(final UUID uniqueId, final JabberId jabberId) throws SmackException { xmppArtifact.addTeamMember(uniqueId, jabberId); }
1,115,104
public void declineInvitation(final EMail invitedAs, final JabberId invitedBy) throws SmackException { xmppContact.decline(invitedAs, invitedBy); }
public void declineInvitation(final EMail invitedAs, final JabberId invitedBy) { xmppContact.decline(invitedAs, invitedBy); }
1,115,105
public void login(final Environment environment, final Credentials credentials) throws SmackException { login(1, environment, credentials); }
public void login(final Environment environment, final Credentials credentials) { login(1, environment, credentials); }
1,115,106
public void publish(ContainerVersion container, Map<DocumentVersion, InputStream> documents, List<JabberId> publishTo, JabberId publishedBy, Calendar publishedOn) throws SmackException { try { xmppContainer.publish(container, documents, publishTo, publishedBy, publishedOn); ...
public void publish(ContainerVersion container, Map<DocumentVersion, InputStream> documents, List<JabberId> publishTo, JabberId publishedBy, Calendar publishedOn) { try { xmppContainer.publish(container, documents, publishTo, publishedBy, publishedOn); } catch (final IOEx...
1,115,107
public void publish(ContainerVersion container, Map<DocumentVersion, InputStream> documents, List<JabberId> publishTo, JabberId publishedBy, Calendar publishedOn) throws SmackException { try { xmppContainer.publish(container, documents, publishTo, publishedBy, publishedOn); ...
public void publish(ContainerVersion container, Map<DocumentVersion, InputStream> documents, List<JabberId> publishTo, JabberId publishedBy, Calendar publishedOn) throws SmackException { try { xmppContainer.publish(container, documents, publishTo, publishedBy, publishedOn); ...
1,115,108
public User readCurrentUser() throws SmackException { assertLoggedIn("[LMODEL] [XMPP] [READ CURRENT USER] [NO SESSION]"); final String qualifiedJabberId = xmppConnection.getUser(); final JabberId jabberId = JabberIdBuilder.parseQualifiedJabberId(qualifiedJabberId); return xmppUser.read(jabberId); ...
public User readCurrentUser() { assertLoggedIn("[LMODEL] [XMPP] [READ CURRENT USER] [NO SESSION]"); final String qualifiedJabberId = xmppConnection.getUser(); final JabberId jabberId = JabberIdBuilder.parseQualifiedJabberId(qualifiedJabberId); return xmppUser.read(jabberId); }
1,115,109
public Profile readProfile() throws SmackException { assertLoggedIn("[LMODEL] [XMPP] [READ PROFILE] [USER NOT ONLINE]"); return xmppProfile.read(getJabberId()); }
public Profile readProfile() { assertLoggedIn("[LMODEL] [XMPP] [READ PROFILE] [USER NOT ONLINE]"); return xmppProfile.read(getJabberId()); }
1,115,110
public void send(final ContainerVersion container, final Map<DocumentVersion, InputStream> documents, final List<JabberId> sendTo, final JabberId sentBy, final Calendar sentOn) throws SmackException { try { xmppContainer.send(container, documents, sendTo, sentBy, s...
public void send(final ContainerVersion container, final Map<DocumentVersion, InputStream> documents, final List<JabberId> sendTo, final JabberId sentBy, final Calendar sentOn) throws SmackException { try { xmppContainer.send(container, documents, sendTo, sentBy, s...
1,115,111
public void send(final ContainerVersion container, final Map<DocumentVersion, InputStream> documents, final List<JabberId> sendTo, final JabberId sentBy, final Calendar sentOn) throws SmackException { try { xmppContainer.send(container, documents, sendTo, sentBy, s...
public void send(final ContainerVersion container, final Map<DocumentVersion, InputStream> documents, final List<JabberId> sendTo, final JabberId sentBy, final Calendar sentOn) throws SmackException { try { xmppContainer.send(container, documents, sendTo, sentBy, s...
1,115,112
public void sendLogFileArchive(final File logFileArchive, final User user) throws SmackException { logger.logApiId(); logger.logVariable("logFileArchive", logFileArchive); logger.logVariable("user", user); }
public void sendLogFileArchive(final File logFileArchive, final User user) throws SmackException { logger.logApiId(); logger.logVariable("logFileArchive", logFileArchive); logger.logVariable("user", user); }
1,115,113
public void updateProfileCredentials(final JabberId userId, final Credentials credentials) { try { Assert.assertTrue("CAN ONLY UPDATE PROFILE CREDENTIALS", userId.equals(getJabberId())); final AccountManager accountManager = new AccountManager(xmppConnectio...
public void updateProfileCredentials(final JabberId userId, final Credentials credentials) { try { Assert.assertTrue("CAN ONLY UPDATE PROFILE CREDENTIALS", userId.equals(getJabberId())); final AccountManager accountManager = new AccountManager(xmppConnectio...
1,115,114
private Class loadFieldTypeClass() { if (this.fieldType == null) { return null; } if ("byte".equals(this.fieldType)) { return byte.class; } else if ("short".equals(this.fieldType)) { return short.class; } else if ("int".equals(this.fi...
private Class loadFieldTypeClass() { if (this.fieldType == null) { return null; } if ("byte".equals(this.fieldType)) { return byte.class; } else if ("short".equals(this.fieldType)) { return short.class; } else if ("int".equals(this.fi...
1,115,115
private Class loadFieldTypeClass() { if (this.fieldType == null) { return null; } if ("byte".equals(this.fieldType)) { return byte.class; } else if ("short".equals(this.fieldType)) { return short.class; } else if ("int".equals(this.fi...
private Class loadFieldTypeClass() { if (this.fieldType == null) { return null; } if ("byte".equals(this.fieldType)) { return byte.class; } else if ("short".equals(this.fieldType)) { return short.class; } else if ("int".equals(this.fi...
1,115,116
public void notationDecl(String name, String publicId, String systemId) throws SAXException { System.out.println("notationDecl(" + name + ", " + publicId + ", " + systemId + ");"); }
public void notationDecl(String name, String publicId, String systemId) throws SAXException { System.out.println("notationDecl(" + name + ", " + publicId + ", " + systemId + ");"); }
1,115,117
public void startElement(String namespaceURI, String sName, String qName, Attributes attrs) throws SAXException { //System.out.println("SE"); Attribute[] attributes = new Attribute[attrs.getLength()]; for(int i = 0; i < attributes.length; ++i) { attributes[i] = new Attribute(attrs.getLocalName(i), attrs....
public void startElement(String namespaceURI, String sName, String qName, Attributes attrs) throws SAXException { //System.out.println("SE"); Attribute[] attributes = new Attribute[attrs.getLength()]; for(int i = 0; i < attributes.length; ++i) { attributes[i] = new Attribute(attrs.getLocalName(i), attrs....
1,115,118
public int compare(Object o1, Object o2) { ValidatorAction va1 = (ValidatorAction)o1; ValidatorAction va2 = (ValidatorAction)o2; String vad1 = va1.getDepends(); String vad2 = va2.getDepends(); if ((vad1 == null || vad1.length() == 0) &...
public int compare(Object o1, Object o2) { ValidatorAction va1 = (ValidatorAction)o1; ValidatorAction va2 = (ValidatorAction)o2; String vad1 = va1.getDepends(); String vad2 = va2.getDepends(); if ((vad1 == null || vad1.length() == 0) &...
1,115,119