bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public Container read(final Long containerId) { return containerModel.read(containerId); }
public Container read(final Long containerId) { return containerModel.read(containerId); }
1,112,849
public void setDraft(final Container container, final ContainerDraft draft) { this.container = container; if (null != draft) { versionsModel.addElement(new VersionCell( MessageFormat.format("Draft - {0} documents.", draft.getDocumentCount()))); ...
public void setDraft(final Container container, final ContainerDraft draft) { this.container = container; if (null != draft) { versionsModel.addElement(new VersionCell( MessageFormat.format("Draft - {0} documents.", draft.getDocumentCount()))); ...
1,112,850
public void setDraft(final Container container, final ContainerDraft draft) { this.container = container; if (null != draft) { versionsModel.addElement(new VersionCell( MessageFormat.format("Draft - {0} documents.", draft.getDocumentCount()))); ...
public void setDraft(final Container container, final ContainerDraft draft) { this.container = container; if (null != draft) { versionsModel.addElement(new VersionCell( MessageFormat.format("Draft - {0} documents.", draft.getDocumentCount()))); ...
1,112,851
public void add(final ContainerVersion version, final List<Document> documents, final Map<User, ArtifactReceipt> users, final User publishedBy) { this.versions.add(version); this.documents.put(version, documents); this.users.put(version, users); this.publishedBy.put...
public void add(final ContainerVersion version, final List<Document> documents, final Map<User, ArtifactReceipt> users, final User publishedBy) { this.versions.add(version); this.documents.put(version, documents); this.users.put(version, users); this.publishedBy.put...
1,112,853
public void add(final ContainerVersion version, final List<Document> documents, final Map<User, ArtifactReceipt> users, final User publishedBy) { this.versions.add(version); this.documents.put(version, documents); this.users.put(version, users); this.publishedBy.put...
public void add(final ContainerVersion version, final List<Document> documents, final Map<User, ArtifactReceipt> users, final User publishedBy) { this.versions.add(version); this.documents.put(version, documents); this.users.put(version, users); this.publishedBy.put...
1,112,854
public void add(final ContainerVersion version, final List<Document> documents, final Map<User, ArtifactReceipt> users, final User publishedBy) { this.versions.add(version); this.documents.put(version, documents); this.users.put(version, users); this.publishedBy.put...
public void add(final ContainerVersion version, final List<Document> documents, final Map<User, ArtifactReceipt> users, final User publishedBy) { this.versions.add(version); this.documents.put(version, documents); this.users.put(version, users); this.publishedBy.put...
1,112,855
public Border getBorder() { if(isLastItem()) { return new LeftBottomRightBorder(new Color(107, 111, 115, 255));} else { return new LeftRightBorder(new Color(107, 111, 115, 255)); } }
public Border getBorder() { if(isLastItem()) { return new LeftBottomRightBorder(new Color(107, 111, 115, 255));} else { return new LeftRightBorder(new Color(107, 111, 115, 255)); } }
1,112,857
public Float getTextInsetFactor() { return BrowserConstants.PHI; }
public Float getTextInsetFactor() { return 3.0F; }
1,112,858
public Boolean isClosed() { return ArtifactUtil.isClosed(getId(), getType()); }
public Boolean isClosed() { return ArtifactUtil.isClosed(getId(), getType()); }
1,112,859
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { getLog().onEvent("Initiated logout request"); generateLogout(state.getLogoutReason()); } } else { ...
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { getLog().onEvent("Initiated logout request"); generateLogout(state.getLogoutReason()); } } else { ...
1,112,860
public RSS() { super("Crawler.RSS"); poller = new Poller(1); }
public RSS() { super("Crawler.RSS"); poller = new Poller(1); }
1,112,861
public void airBrushReceiveMessage(Message msg) { if (msg.type.equals("Feed.RSS")) { try { switchFeed(new URL(msg.content)); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } } ...
public boolean airBrushReceiveMessage(Message msg) { if (super.airBrushReceiveMessage(msg)) return true; if (msg.type.equals("Feed.RSS")) { try { switchFeed(new URL(msg.content)); } catch (MalformedURLException e) { // TODO Auto-generated catch block ...
1,112,862
private void handleItem(ItemIF item) { Story s = new Story(); s.setID(item.getGuid().getLocation().replaceAll("[^\\p{Print}]", "")); s.setAuthor(item.getCreator().replaceAll("[^\\p{Print}]", "")); s.setTitle(item.getTitle().replaceAll("[^\\p{Print}]", "")); s.setContent(item.getDe...
private void handleItem(ItemIF item) { Story s = new Story(); s.setID(item.getGuid().getLocation().replaceAll("[^\\p{Print}]", "")); s.setAuthor(item.getCreator().replaceAll("[^\\p{Print}]", "")); s.setTitle(item.getTitle().replaceAll("[^\\p{Print}]", "")); s.setContent(item.getDe...
1,112,864
public CrawlerObject(String moduleName) { super(moduleName); }
public CrawlerObject(String moduleName) { super(moduleName); }
1,112,865
public void airBrushReceiveMessage(Message msg);
public boolean airBrushReceiveMessage(Message msg);
1,112,866
public void setPublicationDate(String value) { setProperty(keyPublicationDate, value); }
public void setPublicationDate(Date value) { setProperty(keyPublicationDate, value); }
1,112,867
void publish(final ContainerVersion container, final Map<DocumentVersion, String> documents, final List<JabberId> publishTo, final JabberId publishedBy, final Calendar publishedOn) throws IOException { logger.logApiId(); logger.logVariable("container", container); ...
void publish(final ContainerVersion container, final Map<DocumentVersion, String> documents, final List<JabberId> publishTo, final JabberId publishedBy, final Calendar publishedOn) { logger.logApiId(); logger.logVariable("container", container); logger.logVariab...
1,112,868
protected <U extends AbstractThinkParityIQ> void addEventHandler( final XMPPEventHandler<U> eventHandler, final Class<? extends U> queryType) { xmppCore.addPacketListener( new PacketListener() { @SuppressWarnings("unchecked") public v...
protected <U extends AbstractThinkParityIQ> void addEventHandler( final XMPPEventHandler<U> eventHandler, final Class<? extends U> queryType) { xmppCore.addPacketListener( new PacketListener() { @SuppressWarnings("unchecked") public v...
1,112,869
public final void setParameter(final String listName, final String itemName, final List<JabberId> values) { final List<XMPPMethodParameter> parameters = new ArrayList<XMPPMethodParameter>(values.size()); for (final JabberId value : values) { parameters.add(new XMPPMethodParameter...
public final void setParameter(final String listName, final String itemName, final List<JabberId> values) { final List<XMPPMethodParameter> parameters = new ArrayList<XMPPMethodParameter>(values.size()); for (final JabberId value : values) { parameters.add(new XMPPMethodParameter...
1,112,870
protected void setUp() throws Exception { super.setUp(); final File workingDirectory = new File(getOutputDirectory(), "working"); Assert.assertTrue(workingDirectory.mkdir(), "Could not create directory {0}.", workingDirectory); final File streamFile = getInputFiles()[0]; final Str...
protected void setUp() throws Exception { super.setUp(); final File workingDirectory = new File(getOutputDirectory(), "working"); Assert.assertTrue(workingDirectory.mkdir(), "Could not create directory {0}.", workingDirectory); final File streamFile = getInputFiles()[0]; final Str...
1,112,871
protected File getOutputDirectory() { final File outputDirectory = new File(getTestSession().getOutputDirectory(), getName()); if (!outputDirectory.exists()) { Assert.assertTrue(outputDirectory.mkdir(), "Could not create directory {0}.", outputDirectory); } return o...
protected File getOutputDirectory(final String child) { final File outputDirectory = new File(getTestSession().getOutputDirectory(), getName()); if (!outputDirectory.exists()) { Assert.assertTrue(outputDirectory.mkdir(), "Could not create directory {0}.", outputDirectory); ...
1,112,872
protected File getOutputDirectory() { final File outputDirectory = new File(getTestSession().getOutputDirectory(), getName()); if (!outputDirectory.exists()) { Assert.assertTrue(outputDirectory.mkdir(), "Could not create directory {0}.", outputDirectory); } return o...
protected File getOutputDirectory() { final File outputDirectory = new File(getOutputDirectory(), child); if (!outputDirectory.exists()) { Assert.assertTrue(outputDirectory.mkdir(), "Could not create directory {0}.", outputDirectory); } return outputDirectory; }
1,112,873
UpstreamHandler(final StreamServer streamServer, final StreamSession streamSession, final String streamId, final InputStream input) { super(); this.logger = new Log4JWrapper(); this.streamServer = streamServer; this.streamSession = streamSession; this.streamI...
UpstreamHandler(final StreamServer streamServer, final StreamSession streamSession, final String streamId, final Long streamSize, final InputStream input) { super(); this.logger = new Log4JWrapper(); this.streamServer = streamServer; this.streamSession = streamSessi...
1,112,874
public void run() { logger.logApiId(); try { final OutputStream output = streamServer.openOutputStream(streamSession, streamId); try { StreamUtil.copy(input, output, streamSession.getBufferSize()); } finally { output.close()...
public void run() { logger.logApiId(); try { final OutputStream output = streamServer.openOutputStream(streamSession, streamId); try { while((len = input.read(b)) > 0) { logger.logDebug("UPSTREAM RECEIVED {0}/{1}", total += len, streamSize); output.w...
1,112,876
public NumberFormat getNumberFormat(String format, Locale locale) { if (format == null) { return null; } NumberFormat nf = null; int style = getStyleAsInt(format); if (style < 0) { // we have a custom format nf = new DecimalFormat(...
public NumberFormat getNumberFormat(String format, Locale locale) { if (format == null) { return null; } NumberFormat nf = null; int style = getStyleAsInt(format); if (style < 0) { // we have a custom format nf = new DecimalFormat(...
1,112,878
private void initComponents() { searchJTextField = TextFactory.create(); // COLOR SearchText 237,241,244,255 searchJTextField.setBackground(new Color(237, 241, 244, 255)); // BORDER SearchText TopBottom 204,215,226,255 searchJTextField.setBorder(new TopBottomBorder(new Color(204, 215, 226, 255))); searchJTextFie...
private void initComponents() { searchJTextField = TextFactory.create(); // COLOR SearchText 237,241,244,255 searchJTextField.setBackground(new Color(237, 241, 244, 255)); // BORDER SearchText TopBottom 204,215,226,255 searchJTextField.setBorder(new TopBottomBorder(new Color(204, 215, 226, 255))); searchJTextFie...
1,112,879
private void initComponents() { searchJTextField = TextFactory.create(); // COLOR SearchText 237,241,244,255 searchJTextField.setBackground(new Color(237, 241, 244, 255)); // BORDER SearchText TopBottom 204,215,226,255 searchJTextField.setBorder(new TopBottomBorder(new Color(204, 215, 226, 255))); searchJTextFie...
private void initComponents() { searchJTextField = TextFactory.create(); // COLOR SearchText 237,241,244,255 searchJTextField.setBackground(new Color(237, 241, 244, 255)); // BORDER SearchText TopBottom 204,215,226,255 searchJTextField.setBorder(new TopBottomBorder(new Color(204, 215, 226, 255))); searchJTextFie...
1,112,880
public void actionPerformed(final ActionEvent e) { searchJTextFieldKeyTyped(e); }
public void actionPerformed(final ActionEvent e) { searchJTextFieldActionPerformed(e); }
1,112,881
public void artifactClosed(final UUID artifactUniqueId);
public void artifactClosed(final UUID artifactUniqueId, final JabberId artifactClosedBy);
1,112,882
public void setUtcTimeStamp(int field, Date value, boolean includeMilliseconds) { String s = FieldValueConverter.UtcTimestampConverter.convert(value, includeMilliseconds); setField(new StringField(field, s)); }
public void setUtcTimeStamp(int field, Date value, boolean includeMilliseconds) { String s = FieldValueConverter.UtcTimestampConverter.convert(value, includeMilliseconds); setField(new StringField(field, s)); }
1,112,883
public void audit(final ArchiveEvent event) throws HypersonicException;
public void audit(final ArchiveEvent event) throws HypersonicException;
1,112,884
public void start() { logger.debug(toolTip.getSize()); logger.debug(toolTip.getLocation()); timer.start(); }
public void start() { logger.debug(toolTip.getSize()); logger.debug(toolTip.getLocation()); timer.start(); }
1,112,885
public void stop() { logger.debug(toolTip.getSize()); logger.debug(toolTip.getLocation()); timer.stop(); }
public void stop() { logger.debug(toolTip.getSize()); logger.debug(toolTip.getLocation()); timer.stop(); }
1,112,886
protected User getUser(final String username) throws ParityException { final SessionModel sessionModel = getSessionModel(); Assert.assertTrue("getUser(String)", sessionModel.isLoggedIn()); final Collection<User> rosterEntries = sessionModel.getRosterEntries(); for(User user : rosterEntries) { if(user.getUsername...
protected User getUser(final String simpleUsername) throws ParityException { final SessionModel sessionModel = getSessionModel(); Assert.assertTrue("getUser(String)", sessionModel.isLoggedIn()); final Collection<User> rosterEntries = sessionModel.getRosterEntries(); for(User user : rosterEntries) { if(user.getUs...
1,112,887
protected User getUser(final String username) throws ParityException { final SessionModel sessionModel = getSessionModel(); Assert.assertTrue("getUser(String)", sessionModel.isLoggedIn()); final Collection<User> rosterEntries = sessionModel.getRosterEntries(); for(User user : rosterEntries) { if(user.getUsername...
protected User getUser(final String username) throws ParityException { final SessionModel sessionModel = getSessionModel(); Assert.assertTrue("getUser(String)", sessionModel.isLoggedIn()); final Collection<User> rosterEntries = sessionModel.getRosterEntries(); for(User user : rosterEntries) { if(user.getSimpleUs...
1,112,888
public int compare(Artifact o1, Artifact o2) { final int compareResult = o1.getName().compareTo(o2.getName()); if(0 == compareResult) { return subCompare(o1, o2); } else { return compareResult * resultMultiplier; } }
public int compare(Artifact o1, Artifact o2) { final int compareResult = o1.getName().compareTo(o2.getName()); if(0 == compareResult) { return subCompare(o1, o2); } else { return compareResult * resultMultiplier; } }
1,112,890
public void run() { logger.logApiId(); logger.logVariable("run", run); try { while (run) { started = true; synchronized (this) { notifyAll(); } // attempt to establish a socket connection tr...
public void run() { logger.logApiId(); logger.logVariable("run", run); try { while (run) { started = true; synchronized (this) { notifyAll(); } // attempt to establish a socket connection tr...
1,112,891
protected void paintComponent(final Graphics g) { super.paintComponent(g); if (searchJTextField.hasFocus()) { final Graphics2D g2 = (Graphics2D) g.create(); try { final Point leftLocation = leftJLabel.getLocation(); g2.drawImage(Images.BrowserTitle.H...
protected void paintComponent(final Graphics g) { super.paintComponent(g); if (searchJTextField.hasFocus()) { final Graphics2D g2 = (Graphics2D) g.create(); try { final Point leftLocation = leftJLabel.getLocation(); g2.drawImage(Images.BrowserTitle.H...
1,112,893
public static String extract(final JTextField jTextField) { synchronized(singletonLock) { return singleton.doExtract(jTextField); } }
public static String extract(final JTextField jTextField) { synchronized(singletonLock) { return singleton.doExtract(jTextField); } }
1,112,894
public FieldException(int sessionRejectReason, int field) { this.sessionRejectReason = sessionRejectReason; this.field = field; }
public FieldException(int sessionRejectReason) { this.sessionRejectReason = sessionRejectReason; this.field = field; }
1,112,895
public FieldException(int sessionRejectReason, int field) { this.sessionRejectReason = sessionRejectReason; this.field = field; }
public FieldException(int sessionRejectReason, int field) { this.sessionRejectReason = sessionRejectReason; this.field = -1; }
1,112,896
public static double convert(String value) throws FieldConvertError { try { Matcher matcher = doublePattern.matcher(value); if (!matcher.matches()) { throw new NumberFormatException(); } return Double.parseDouble(value); } catch (NumberFormatE...
public static double convert(String value) throws FieldConvertError { try { Matcher matcher = doublePattern.matcher(value); if (!matcher.matches()) { throw new NumberFormatException(); } return Double.parseDouble(value); } catch (NumberFormatE...
1,112,897
public static Date convert(String value) throws FieldConvertError { verifyFormat(value); String dateString = value.substring(0, 8); Calendar c = getCalendarForDay(value, dateString); long timeOffset = (parseLong(value.substring(9, 11)) * 3600000L) + (parseLong(value.substr...
public static Date convert(String value) throws FieldConvertError { verifyFormat(value); String dateString = value.substring(0, 8); Calendar c = getCalendarForDay(value, dateString); long timeOffset = (parseLong(value.substring(9, 11)) * 3600000L) + (parseLong(value.substr...
1,112,898
public void reload() { jListModel.clear(); reloadKeys(); reloadSystemMessages(); reloadDocuments(); }
public void reload() { jListModel.clear(); reloadSystemMessages(); reloadDocuments(); }
1,112,899
private void reloadDocuments() { final Object[] elements = ((CompositeFlatContentProvider) contentProvider).getElements(0, null); Document d; for(final Object e : elements) { d = (Document) e; jListModel.addElement( DocumentListItem.create(d, keys.contains(d.getId()))); } }
private void reloadDocuments() { final Object[] elements = ((CompositeFlatContentProvider) contentProvider).getElements(0, null); Document d; for(final Object e : elements) { d = (Document) e; jListModel.addElement( DocumentListItem.create( d, ArtifactUtil.isKeyHolder(d.getId()))); } }
1,112,900
public abstract IQ handleIQ(final IQ iq, final Session session) throws ParityServerModelException, UnauthorizedException;
public abstract IQ handleIQ(final IQ iq, final Session session) throws ParityServerModelException, UnauthorizedException;
1,112,901
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; logoJLabel = new javax.swing.JLabel(); versionJLabel = new javax.swing.JLabel(); buildJLabel = new javax.swing.JLabel(); copyrightJLabel = new javax.swing.JLabel(); fillLeftJLabel = new javax.sw...
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; logoJLabel = new javax.swing.JLabel(); versionJLabel = new javax.swing.JLabel(); buildJLabel = new javax.swing.JLabel(); copyrightJLabel = new javax.swing.JLabel(); fillLeftJLabel = new javax.sw...
1,112,902
private void webPageJLabelMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_webPageJLabelMouseClicked try { Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler http://www.thinkparity.com/"); } catch (final Throwable t) { throw new BrowserException(LAUNCH_...
private void webPageJLabelMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_webPageJLabelMouseClicked try { String runString = "rundll32 url.dll,FileProtocolHandler " + getWebPage(); Runtime.getRuntime().exec(runString);//www.thinkparity.com/"); } catch (final Throwable t) { ...
1,112,904
private void webPageJLabelMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_webPageJLabelMouseEntered webPageJLabel.setText(getString("WebPageHighlighted")); setCursor(new Cursor(Cursor.HAND_CURSOR)); }//GEN-LAST:event_webPageJLabelMouseEntered
private void webPageJLabelMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_webPageJLabelMouseEntered webPageJLabel.setText(getString("WebPageHighlighted", new Object[] {getWebPageString()})); setCursor(new Cursor(Cursor.HAND_CURSOR)); }//GEN-LAST:event_webPageJLabelMouseEntered
1,112,905
private void webPageJLabelMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_webPageJLabelMouseExited webPageJLabel.setText(getString("WebPage")); setCursor(null); }//GEN-LAST:event_webPageJLabelMouseExited
private void webPageJLabelMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_webPageJLabelMouseExited webPageJLabel.setText(getString("WebPage", new Object[] {getWebPageString()})); setCursor(null); }//GEN-LAST:event_webPageJLabelMouseExited
1,112,906
protected Avatar(final String l18nContext, final Color background) { this(l18nContext, ScrollPolicy.NONE, background); }
protected Avatar(final String l18nContext, final Color background) { this(l18nContext, ScrollPolicy.NONE, background); }
1,112,907
protected String getString(final String localKey, final Object[] arguments) { return localization.getString(localKey, arguments); }
protected String getString(final String localKey, final Object[] arguments) { return localization.getString(localKey, arguments); }
1,112,908
void audit(final CloseEvent closeEvent) { logger.info("audit(CloseEvent)"); logger.debug(closeEvent); auditIO.audit(closeEvent); }
void audit(final CloseEvent closeEvent) { logger.info("[LMODEL] [AUDIT] [AUDIT CLOSE]"); logger.debug(closeEvent); auditIO.audit(closeEvent); }
1,112,909
void delete(final Long artifactId) { logger.info("delete(Long)"); logger.debug(artifactId); auditIO.delete(artifactId); }
void delete(final Long artifactId) { logger.info("[LMODEL] [AUDIT] [DELETE]"); logger.debug(artifactId); auditIO.delete(artifactId); }
1,112,910
Collection<AuditEvent> read(final Long artifactId) { logger.info("list(Long)"); logger.debug(artifactId); return auditIO.list(artifactId); }
Collection<AuditEvent> read(final Long artifactId) { logger.info("[LMODEL] [AUDIT] [READ]"); logger.debug(artifactId); return auditIO.list(artifactId); }
1,112,911
private Fixture(final ArtifactModel aModel, final DocumentModel dModel, final Long documentId) { this.aModel = aModel; this.dModel = dModel; this.documentId = documentId; }
private Fixture(final ArtifactModel aModel, final DocumentModel dModel, final Long documentId, final Integer eTeamSize) { this.aModel = aModel; this.dModel = dModel; this.documentId = documentId; }
1,112,912
protected void setUp() throws Exception { super.setUp(); data = new LinkedList<Fixture>(); final ArtifactModel aModel = getArtifactModel(); final DocumentModel dModel = getDocumentModel(); final SessionModel sModel = getSessionModel(); final ModelTestUser userX = ModelTestUser.getX(); //...
protected void setUp() throws Exception { super.setUp(); final ArtifactModel aModel = getArtifactModel(); final DocumentModel dModel = getDocumentModel(); final SessionModel sModel = getSessionModel(); final ModelTestUser userX = ModelTestUser.getX(); // 2 scenarios // 0: i am t...
1,112,914
protected void setUp() throws Exception { super.setUp(); data = new LinkedList<Fixture>(); final ArtifactModel aModel = getArtifactModel(); final DocumentModel dModel = getDocumentModel(); final SessionModel sModel = getSessionModel(); final ModelTestUser userX = ModelTestUser.getX(); //...
protected void setUp() throws Exception { super.setUp(); data = new LinkedList<Fixture>(); final ArtifactModel aModel = getArtifactModel(); final DocumentModel dModel = getDocumentModel(); final SessionModel sModel = getSessionModel(); final ModelTestUser userX = ModelTestUser.getX(); //...
1,112,915
protected void setUp() throws Exception { super.setUp(); data = new LinkedList<Fixture>(); final ArtifactModel aModel = getArtifactModel(); final DocumentModel dModel = getDocumentModel(); final SessionModel sModel = getSessionModel(); final ModelTestUser userX = ModelTestUser.getX(); //...
protected void setUp() throws Exception { super.setUp(); data = new LinkedList<Fixture>(); final ArtifactModel aModel = getArtifactModel(); final DocumentModel dModel = getDocumentModel(); final SessionModel sModel = getSessionModel(); final ModelTestUser userX = ModelTestUser.getX(); //...
1,112,916
protected void tearDown() throws Exception { data.clear(); data = null; super.tearDown(); }
protected void tearDown() throws Exception { data.clear(); data = null; super.tearDown(); }
1,112,917
public void testClose() { testLogger.info("[LMODEL] [DOCUMENT] [TEST CLOSE]"); Document document; Set<User> team; for(final Fixture datum : data) { try { datum.dModel.close(datum.documentId); } catch(final ParityException px) { fail(createFailMessage(px)); } ...
public void testClose() { testLogger.info("[LMODEL] [DOCUMENT] [TEST CLOSE]"); Document document; Set<User> team; for(final Fixture datum : data) { try { datum.dModel.close(datum.documentId); } catch(final ParityException px) { fail(createFailMessage(px)); } ...
1,112,918
public void testClose() { testLogger.info("[LMODEL] [DOCUMENT] [TEST CLOSE]"); Document document; Set<User> team; for(final Fixture datum : data) { try { datum.dModel.close(datum.documentId); } catch(final ParityException px) { fail(createFailMessage(px)); } ...
public void testClose() { testLogger.info("[LMODEL] [DOCUMENT] [TEST CLOSE]"); Document document; Set<User> team; for(final Fixture datum : data) { try { datum.dModel.close(datum.documentId); } catch(final ParityException px) { fail(createFailMessage(px)); } ...
1,112,919
public void testClose() { testLogger.info("[LMODEL] [DOCUMENT] [TEST CLOSE]"); Document document; Set<User> team; for(final Fixture datum : data) { try { datum.dModel.close(datum.documentId); } catch(final ParityException px) { fail(createFailMessage(px)); } ...
public void testClose() { testLogger.info("[LMODEL] [DOCUMENT] [TEST CLOSE]"); Document document; Set<User> team; for(final Fixture datum : data) { try { datum.dModel.close(datum.documentId); } catch(final ParityException px) { fail(createFailMessage(px)); } ...
1,112,920
public static Avatar create(final AvatarId id) { switch(id) { case BROWSER_LOGO: return SINGLETON.createBrowserLogo(); case BROWSER_MAIN: return SINGLETON.createBrowserMain(); case BROWSER_TITLE: return SINGLETON.createBrowserTitle(); case DOCUMENT_HISTORY_LIST: return SINGLETON.createDocumentHistoryList(...
public static Avatar create(final AvatarId id) { switch(id) { case BROWSER_LOGO: return SINGLETON.createBrowserLogo(); case BROWSER_MAIN: return SINGLETON.createBrowserMain(); case BROWSER_TITLE: return SINGLETON.createBrowserTitle(); case DOCUMENT_HISTORY: return SINGLETON.createDocumentHistoryList(); c...
1,112,921
private Avatar createDocumentHistoryList() { if(null == documentHistoryList) { documentHistoryList = new DocumentHistoryListAvatar(controller); documentHistoryList.setContentProvider(ProviderFactory.getHistoryProvider()); } return documentHistoryList; }
private Avatar createDocumentHistoryList() { if(null == documentHistoryList) { documentHistoryList = new DocumentHistoryAvatar(controller); documentHistoryList.setContentProvider(ProviderFactory.getHistoryProvider()); } return documentHistoryList; }
1,112,922
static final <T extends Artifact, U extends ArtifactVersion> BackupReader<T, U> emptyReader() { return new BackupReader<T, U>() { @Override public List<T> read() { return Collections.emptyList(); } @Override public T read(final UUID unique...
static final <T extends Artifact, U extends ArtifactVersion> BackupReader<T, U> emptyReader() { return new BackupReader<T, U>() { @Override public List<T> read() { return Collections.emptyList(); } @Override public T read(final UUID unique...
1,112,925
protected Map<User, ArtifactReceipt> readPublishedTo(final UUID uniqueId, final Long versionId) { return Collections.emptyMap(); }
public Map<User, ArtifactReceipt> readPublishedTo( final UUID uniqueId, final Long versionId) { return Collections.emptyMap(); }
1,112,926
protected abstract Map<User, ArtifactReceipt> readPublishedTo(final UUID uniqueId, final Long versionId);
public abstract Map<User, ArtifactReceipt> readPublishedTo( final UUID uniqueId, final Long versionId);
1,112,927
private void initComponents() { com.thinkparity.browser.application.browser.display.avatar.MainTitleAvatarSearchPanel searchPanel; searchPanel = new com.thinkparity.browser.application.browser.display.avatar.MainTitleAvatarSearchPanel(); tabPanel = new com.thinkparity.browser.application.browse...
private void initComponents() { com.thinkparity.browser.application.browser.display.avatar.MainTitleAvatarSearchPanel searchPanel; searchPanel = new com.thinkparity.browser.application.browser.display.avatar.MainTitleAvatarSearchPanel(); tabPanel = new com.thinkparity.browser.application.browse...
1,112,928
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,929
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,930
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,931
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,932
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,933
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,934
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,935
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,936
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,937
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,938
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,939
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,940
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,941
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,942
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,943
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,944
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,945
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,946
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,947
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,948
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,949
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,950
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
public static void notmain(String[] args) throws Exception { if(DEBUG) verbose = true; parseArgs(args); if(graphical) { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) ...
1,112,951
public static void parseArgs(String[] args) { boolean parseSuccessful = false; try { /* Take care of the options... */ int i; for(i = 0; i < args.length; ++i) { String cur = args[i]; if(!cur.startsWith("-")) break; else if(cur.equals("-gui")) graphical = true; else if(cur.equals("-v")) ...
public static void parseArgs(String[] args) { boolean parseSuccessful = false; try { /* Take care of the options... */ int i; for(i = 0; i < args.length; ++i) { String cur = args[i]; if(!cur.startsWith("-")) break; else if(cur.equals("-gui")) { graphical = true; else if(cur.equals("-v")) ...
1,112,952
public static void parseArgs(String[] args) { boolean parseSuccessful = false; try { /* Take care of the options... */ int i; for(i = 0; i < args.length; ++i) { String cur = args[i]; if(!cur.startsWith("-")) break; else if(cur.equals("-gui")) graphical = true; else if(cur.equals("-v")) ...
public static void parseArgs(String[] args) { boolean parseSuccessful = false; try { /* Take care of the options... */ int i; for(i = 0; i < args.length; ++i) { String cur = args[i]; if(!cur.startsWith("-")) break; else if(cur.equals("-gui")) graphical = true; else if(cur.equals("-v")) ...
1,112,953
public static void parseArgs(String[] args) { boolean parseSuccessful = false; try { /* Take care of the options... */ int i; for(i = 0; i < args.length; ++i) { String cur = args[i]; if(!cur.startsWith("-")) break; else if(cur.equals("-gui")) graphical = true; else if(cur.equals("-v")) ...
public static void parseArgs(String[] args) { boolean parseSuccessful = false; try { /* Take care of the options... */ int i; for(i = 0; i < args.length; ++i) { String cur = args[i]; if(!cur.startsWith("-")) break; else if(cur.equals("-gui")) graphical = true; else if(cur.equals("-v")) ...
1,112,954
public static void processZlibBlock(DMGBlock block, RandomAccessFile dmgRaf, RandomAccessFile isoRaf, boolean testOnly, UserInterface ui) throws IOException, DataFormatException { inflater.reset(); dmgRaf.seek(/*block.lastOffs+*/block.inOffset); /* * medan det finns komprimerat data att lsa: * ls in komp...
public static void processZlibBlock(DMGBlock block, RandomAccessFile dmgRaf, RandomAccessFile isoRaf, boolean testOnly, UserInterface ui) throws IOException, DataFormatException { inflater.reset(); dmgRaf.seek(/*block.lastOffs+*/block.inOffset); /* * medan det finns komprimerat data att lsa: * ls in komp...
1,112,955
protected StreamClient(final StreamSession session) { super(); this.logger = new Log4JWrapper(); this.session = session; final Environment environment = session.getEnvironment(); this.socketAddress = new InetSocketAddress( environment.getStreamHost(), environment.ge...
protected StreamClient(final StreamSession session) { super(); this.logger = new Log4JWrapper(); this.session = session; final Environment environment = session.getEnvironment(); this.socketAddress = new InetSocketAddress( environment.getStreamHost(), environment.ge...
1,112,956
public static void copy(final InputStream is, final OutputStream os, final Integer bufferSize) throws IOException { int len; final byte[] b = new byte[bufferSize]; while((len = is.read(b)) > 0) { os.write(b, 0, len); } os.flush(); }
public static void copy(final InputStream is, final OutputStream os, final Integer bufferSize) throws IOException { int len; final byte[] b = new byte[bufferSize]; while((len = is.read(b)) > 0) { os.write(b, 0, len); } os.flush(); }
1,112,957
void addPacketListeners(final XMPPConnection xmppConnection) {}
void addPacketListeners(final XMPPConnection xmppConnection) { xmppConnection.addPacketListener( new PacketListener() { public void processPacket(final Packet packet) { notifyTeamMemberAdded((IQTeamMemberAddedNotification) packet); } }, new PacketTypeFilter(IQTeamMemberAddedNotification.class)); xmppConnection.addPack...
1,112,958
public XMPPMethodResponse execute(final XMPPConnection xmppConnection) { // add an executed on parameter setParameter(Xml.All.EXECUTED_ON, DateUtil.getInstance()); // create a collector for the response final PacketCollector idCollector = createPacketCollector(xmppConnection); // ...
public XMPPMethodResponse execute(final XMPPConnection xmppConnection) { // add an executed on parameter setParameter(Xml.All.EXECUTED_ON, DateUtil.getInstance()); // create a collector for the response final PacketCollector idCollector = createPacketCollector(xmppConnection); // ...
1,112,959