bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public ThreadedSocketInitiator(Application application, MessageStoreFactory messageStoreFactory, SessionSettings settings, MessageFactory messageFactory) throws ConfigError { super(application, messageStoreFactory, settings, messageFactory); } | public ThreadedSocketInitiator(Application application, MessageStoreFactory messageStoreFactory, SessionSettings settings, MessageFactory messageFactory) throws ConfigError { super(application, messageStoreFactory, settings, messageFactory); } | 1,113,422 |
UserNameBuilder(final String first, final String middle, final String last) { super(); if(null == first) { throw new NullPointerException(); } if(null == last) { throw new NullPointerException(); } this.first = first; this.middle = middle; this.last = last; } | UserNameBuilder(final String first, final String middle, final String last) { super(); if(null == first) { throw new NullPointerException(); } if(null == last) { throw new NullPointerException(); } this.first = first; this.middle = middle; this.last = last; } | 1,113,423 |
UserNameBuilder(final String first, final String middle, final String last) { super(); if(null == first) { throw new NullPointerException(); } if(null == last) { throw new NullPointerException(); } this.first = first; this.middle = middle; this.last = last; } | UserNameBuilder(final String first, final String middle, final String last) { super(); if(null == first) { throw new NullPointerException(); } if(null == last) { throw new NullPointerException(); } this.first = first; this.middle = middle; this.last = last; } | 1,113,424 |
UserNameBuilder(final String first, final String middle, final String last) { super(); if(null == first) { throw new NullPointerException(); } if(null == last) { throw new NullPointerException(); } this.first = first; this.middle = middle; this.last = last; } | UserNameBuilder(final String first, final String middle, final String last) { super(); if(null == first) { throw new NullPointerException(); } if(null == last) { throw new NullPointerException(); } this.first = first; this.middle = null; this.last = last; } | 1,113,425 |
public String getName() { if(null == first || null == last) { return null; } final StringBuffer name = new StringBuffer(first); if(null != middle) { name.append(User.NAME_SEP).append(middle); } name.append(User.NAME_SEP).append(last); return name.toString(); } | public String getName() { if(null == first || null == last) { return null; } final StringBuffer name = new StringBuffer(first); if(null != middle) { name.append(User.NAME_SEP).append(middle); } name.append(User.NAME_SEP).append(last); return name.toString(); } | 1,113,426 |
public void run() { Logger.getLogger(getClass()).trace("Runtime shutting down."); synchronized (WORKSPACES) { List<ShutdownHook> shutdownHooks; for (final WorkspaceImpl workspace : WORKSPACES) { Logger.getLogger(getCl... | public void run() { Logger.getLogger(getClass()).trace("Runtime shutting down."); synchronized (WORKSPACES) { List<ShutdownHook> shutdownHooks; for (final WorkspaceImpl workspace : WORKSPACES.values()) { Logger.getLog... | 1,113,428 |
private WorkspaceImpl findImpl(final Workspace workspace) { synchronized (WORKSPACES) { for (final WorkspaceImpl impl : WORKSPACES) { if (impl.getWorkspaceDirectory().equals(workspace.getWorkspaceDirectory())) { return impl; } } } ... | private WorkspaceImpl findImpl(final Workspace workspace) { synchronized (WORKSPACES) { for (final WorkspaceImpl impl : WORKSPACES.values()) { if (impl.getWorkspaceDirectory().equals(workspace.getWorkspaceDirectory())) { return impl; } } ... | 1,113,429 |
Workspace getWorkspace(final File workspace) { synchronized (WORKSPACES) { final WorkspaceImpl impl = new WorkspaceImpl(workspace); if (WORKSPACES.contains(impl)) { return WORKSPACES.get(WORKSPACES.indexOf(impl)); } else { WORKSPACES.add(open(impl))... | Workspace getWorkspace(final File workspace) { synchronized (WORKSPACES) { final WorkspaceImpl impl = new WorkspaceImpl(workspace); if (WORKSPACES.contains(impl)) { return WORKSPACES.get(WORKSPACES.indexOf(impl)); } else { WORKSPACES.add(open(impl))... | 1,113,430 |
Workspace getWorkspace(final File workspace) { synchronized (WORKSPACES) { final WorkspaceImpl impl = new WorkspaceImpl(workspace); if (WORKSPACES.contains(impl)) { return WORKSPACES.get(WORKSPACES.indexOf(impl)); } else { WORKSPACES.add(open(impl))... | Workspace getWorkspace(final File workspace) { synchronized (WORKSPACES) { final WorkspaceImpl impl = new WorkspaceImpl(workspace); if (WORKSPACES.contains(impl)) { return WORKSPACES.get(WORKSPACES.indexOf(impl)); } else { final WorkspaceImpl impl =... | 1,113,431 |
public File[] list(final String path, final FileFilter filter) { return list(path, filter, Boolean.FALSE); } | public File[] list(final String path, final FileFilter filter) { return list(path, filter, Boolean.FALSE); } | 1,113,432 |
public void deleteVersion(Long containerId, Long versionId) { final Session session = openSession(); try { final Integer publishedToCount = readPublishedToCount(containerId, versionId); session.prepareStatement(SQL_DELETE_PUBLISHED_TO); session.setLong(1, containerId);... | public void deleteVersion(Long containerId, Long versionId) { final Session session = openSession(); try { final int publishedToCount = readPublishedToCount(containerId, versionId); session.prepareStatement(SQL_DELETE_PUBLISHED_TO); session.setLong(1, containerId); ... | 1,113,433 |
public void deleteVersion(Long containerId, Long versionId) { final Session session = openSession(); try { final Integer publishedToCount = readPublishedToCount(containerId, versionId); session.prepareStatement(SQL_DELETE_PUBLISHED_TO); session.setLong(1, containerId);... | public void deleteVersion(Long containerId, Long versionId) { final Session session = openSession(); try { final Integer publishedToCount = readPublishedToCount(containerId, versionId); session.prepareStatement(SQL_DELETE_PUBLISHED_TO); session.setLong(1, containerId);... | 1,113,434 |
public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) { final UUID uniqueId = readUniqueId(reader, context); final Long versionId = readVersionId(reader, context); final String name = readName(reader, context); final String createdBy = readCreatedBy(reader, context); final Calen... | public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) { final UUID uniqueId = readUniqueId(reader, context); final Long versionId = readVersionId(reader, context); final String name = readName(reader, context); final String createdBy = readCreatedBy(reader, context); final Calen... | 1,113,436 |
<T extends XMPPEvent> void notifyHandler(final T event) { final XMPPEventHandler<T> handler; synchronized (registry) { handler = registry.get(event.getClass()); } if (null == handler) { logger.logWarning("No handler has been registered for event {0}.", ... | <T extends XMPPEvent> void notifyHandler(final T event) { final XMPPEventHandler<T> handler; synchronized (registry) { handler = registry.get(event.getClass()); } if (null == handler) { logger.logWarning("No handler has been registered for event {0}.", ... | 1,113,437 |
private void setMnemonicAndAccelerator() { if (action.isSetMnemonic()) { putValue(MNEMONIC_KEY, new Integer(action.getMnemonic().charAt(0))); } if (action.isSetAccelerator()) { putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(action.getAccelerator()... | private void setMnemonicAndAccelerator() { if (action.isSetMnemonic()) { putValue(MNEMONIC_KEY, Integer.valueOf(action.getMnemonic().charAt(0))); } if (action.isSetAccelerator()) { putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(action.getAccelerat... | 1,113,440 |
public QueryHit toQueryHit(final Hit hit) { final QueryHit queryHit = new QueryHit(); try { queryHit.setDataId(parseLong(hit, idField)); } catch(final IOException iox) { throw new IndexException("Could not extract hit value.", iox); } return queryHit; } | public QueryHit toQueryHit(final Hit hit) { final QueryHit queryHit = new QueryHit(); try { queryHit.setDataId(parseLong(hit, idField)); queryHit.setDocument(hit.getDocument()); } catch(final IOException iox) { throw new IndexException("Could not extract hit value.", iox); } return queryHit; } | 1,113,441 |
protected void setUp() throws Exception { super.setUp(); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); final Document document = addDocument(OpheliaTestUser.JUNIT, containe... | protected void setUp() throws Exception { super.setUp(); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); final Document document = addDocument(OpheliaTestUser.JUNIT, containe... | 1,113,442 |
protected void publishToContacts(final OpheliaTestUser testUser, final Container container, final String... contactNames) { final List<Contact> contacts = readContacts(testUser); userUtils.filter(contacts, contactNames); final List<TeamMember> teamMembers = Collections.emptyList(); ... | protected void publishToContacts(final OpheliaTestUser testUser, final Container container) { final List<TeamMember> teamMembers = Collections.emptyList(); final List<Contact> contacts = readContacts(testUser); userUtils.filter(contacts, contactNames); final List<TeamMember> teamMemb... | 1,113,443 |
protected void publishToContacts(final OpheliaTestUser testUser, final Container container, final String... contactNames) { final List<Contact> contacts = readContacts(testUser); userUtils.filter(contacts, contactNames); final List<TeamMember> teamMembers = Collections.emptyList(); ... | protected void publishToContacts(final OpheliaTestUser testUser, final Container container, final String... contactNames) { final List<Contact> contacts = readContacts(testUser); userUtils.filter(contacts, contactNames); final List<TeamMember> teamMembers = Collections.emptyList(); ... | 1,113,444 |
void processEventQueue(final JabberId userId) { logger.logApiId(); logger.logVariable("userId", userId); final XMPPMethod processOfflineQueue = new XMPPMethod("system:readqueueevents"); processOfflineQueue.setParameter("userId", userId); final List<XMPPEvent> events = e... | void processEventQueue(final JabberId userId) { logger.logApiId(); logger.logVariable("userId", userId); final XMPPMethod processOfflineQueue = new XMPPMethod("system:readqueueevents"); processOfflineQueue.setParameter("userId", userId); final List<XMPPEvent> events = e... | 1,113,446 |
protected ParityObject(final Project parent, final String name, final String description, final Calendar createdOn, final String createdBy, final String keyHolder, final UUID id) { super(); this.parent = parent; this.name = name; this.description = description; this.createdOn = createdOn; this.createdBy = cr... | protected ParityObject(final Project parent, final String name, final String description, final Calendar createdOn, final String createdBy, final String keyHolder, final UUID id) { super(); this.parent = parent; this.name = name; this.description = description; this.createdOn = createdOn; this.createdBy = cr... | 1,113,447 |
protected ParityObject(final Project parent, final String name, final String description, final Calendar createdOn, final String createdBy, final String keyHolder, final UUID id) { super(); this.parent = parent; this.name = name; this.description = description; this.createdOn = createdOn; this.createdBy = cr... | protected ParityObject(final Project parent, final String name, final String description, final Calendar createdOn, final String createdBy, final String keyHolder, final UUID id) { super(); this.parent = parent; this.name = name; this.description = description; this.createdOn = createdOn; this.createdBy = cr... | 1,113,448 |
Boolean doesExist(final Long artifactId) { logger.logApiId(); logger.logVariable("variable", artifactId); return null != artifactIO.readUniqueId(artifactId); } | Boolean doesExist(final Long artifactId) { logger.logApiId(); logger.logVariable("variable", artifactId); return null != artifactIO.readUniqueId(artifactId); } | 1,113,449 |
void handleTeamMemberRemoved(final ArtifactTeamMemberRemovedEvent event) { logger.logApiId(); logger.logVariable("event", event); try { final Long artifactId = readId(event.getUniqueId()); artifactIO.deleteTeamRel(artifactId); } catch(final Throwable t) { ... | void handleTeamMemberRemoved(final ArtifactTeamMemberRemovedEvent event) { logger.logApiId(); logger.logVariable("event", event); try { final Long artifactId = readId(event.getUniqueId()); final User user = getInternalUserModel().read(event.getJabberId()); artifactIO.delet... | 1,113,450 |
public TeamMember readTeamRel(final Long artifactId, final Long userId); | public Set<User> readTeamRel(final Long artifactId) throws HypersonicException; | 1,113,451 |
public Color getBackground(final int index) { final Color color; Integer containerIndex = model.indexOfContainerPanel(container); if (isSelectedContainer()) { color = Colors.Browser.List.LIST_SELECTION_BG; } else { color = Colors.Browser.List.LIST_EXPANDE... | public Color getBackground(final int index) { final Color color; if (isSelectedContainer()) { color = Colors.Browser.List.LIST_SELECTION_BG; } else { color = Colors.Browser.List.LIST_EXPANDED_NOT_SELECTED_BG; } leftJPanel.setBac... | 1,113,452 |
void reloadHistoryList() { getPlatform().getAvatarRegistry().get(AvatarId.DOCUMENT_HISTORY3).reload(); } | void reloadHistoryList() { final Avatar avatar = getPlatform().getAvatarRegistry().get(AvatarId.DOCUMENT_HISTORY3); if(null != avatar) { avatar.reload(); } } | 1,113,453 |
protected void installListeners(final DefaultTabPanel tabPanel, final javax.swing.JLabel iconJLabel) { iconJLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mousePressed(final java.awt.event.MouseEvent e) { tabPanel.panelCellMousePressed(cell, e); ... | protected void installListeners(final DefaultTabPanel tabPanel, final javax.swing.JLabel iconJLabel) { iconJLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mousePressed(final java.awt.event.MouseEvent e) { tabPanel.panelCellMousePressed(cell, e); ... | 1,113,454 |
protected void installListeners(final DefaultTabPanel tabPanel, final javax.swing.JLabel iconJLabel) { iconJLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mousePressed(final java.awt.event.MouseEvent e) { tabPanel.panelCellMousePressed(cell, e); ... | protected void installListeners(final DefaultTabPanel tabPanel, final javax.swing.JLabel iconJLabel) { iconJLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mousePressed(final java.awt.event.MouseEvent e) { tabPanel.panelCellMousePressed(cell, Boolea... | 1,113,455 |
public void mousePressed(final java.awt.event.MouseEvent e) { tabPanel.panelCellMousePressed(cell, e); if (e.getButton() == MouseEvent.BUTTON1) { if (cell.isActionAvailable()) { cell.invokeAction(); } }... | public void mousePressed(final java.awt.event.MouseEvent e) { tabPanel.panelCellMousePressed(cell, e); if (e.getButton() == MouseEvent.BUTTON1) { if (cell.isActionAvailable()) { cell.invokeAction(); } }... | 1,113,456 |
public void mousePressed(final java.awt.event.MouseEvent e) { tabPanel.panelCellMousePressed(cell, e); maybeShowPopup(e); } | public void mousePressed(final java.awt.event.MouseEvent e) { tabPanel.panelCellMousePressed(cell, Boolean.FALSE, e); maybeShowPopup(e); } | 1,113,457 |
public void panelCellMousePressed(final Cell cell, final java.awt.event.MouseEvent e) { } | public void panelCellMousePressed(final Cell cell, final Boolean onIcon, final java.awt.event.MouseEvent e) { } | 1,113,458 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleDraftCreatedIQ query = new HandleDraftCreatedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if (isS... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleDraftCreatedIQ query = new HandleDraftCreatedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if (isS... | 1,113,459 |
public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleDraftCreatedIQ query = new HandleDraftCreatedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if (isS... | public IQ parseIQ(final XmlPullParser parser) throws Exception { setParser2(parser); final HandleDraftCreatedIQ query = new HandleDraftCreatedIQ(); Boolean isComplete = Boolean.FALSE; while (Boolean.FALSE == isComplete) { if (isS... | 1,113,460 |
public MainTitleAvatarTabPanel() { super(); this.allTabs = new HashMap<TabId, Tab>(); this.pluginTabs = new HashMap<PluginExtension, Tab>(); initComponents(); this.resizer = new Resizer(getBrowser(), containerJLabel, Boolean.FALSE, Resizer.ResizeEdges.LEFT); } | public MainTitleAvatarTabPanel() { super(); this.allTabs = new HashMap<TabId, Tab>(); this.pluginTabs = new HashMap<PluginExtension, Tab>(); initComponents(); this.resizer = new Resizer(getBrowser(), this, Boolean.TRUE, Resizer.ResizeEdges.LEFT); this.containerJLabelResizer = new ... | 1,113,461 |
public static JLabel create(final Icon icon) { synchronized (singletonLock) { return singleton.doCreate(icon); } } | public static JLabel create() { synchronized (singletonLock) { return singleton.doCreate(icon); } } | 1,113,462 |
public static JLabel create(final Icon icon) { synchronized (singletonLock) { return singleton.doCreate(icon); } } | public static JLabel create(final Icon icon) { synchronized (singletonLock) { return singleton.doCreate(); } } | 1,113,463 |
BrowserMainDocumentModel(final Browser browser) { super(); this.browser = browser; this.documentFilter = new FilterChain<Artifact>(); this.documents = new LinkedList<MainCellDocument>(); this.history = new LinkedList<MainCellHistoryItem>(); this.jListModel = new DefaultList... | BrowserMainDocumentModel(final Browser browser) { super(); this.browser = browser; this.documentFilter = new FilterChain<Artifact>(); this.documents = new LinkedList<MainCellDocument>(); this.visibleHistory = new Hashtable<MainCellDocument, List<MainCellHistoryItem>>(10, 0.65F); ... | 1,113,465 |
private void collapse(final MainCellDocument mcd) { mcd.setExpanded(Boolean.FALSE); MainCellHistoryItem mchi; for(final Iterator<MainCellHistoryItem> i = history.iterator(); i.hasNext();) { mchi = i.next(); if(mchi.getDocument().equals(mcd)) { i.remove(); } } } | private void collapse(final MainCellDocument mcd) { mcd.setExpanded(Boolean.FALSE); MainCellHistoryItem mchi; for(final Iterator<MainCellHistoryItem> i = visibleHistory.get(mcd).iterator(); i.hasNext();) { mchi = i.next(); if(mchi.getDocument().equals(mcd)) { i.remove(); }... | 1,113,466 |
void debug() { if(browser.getPlatform().isDebugMode()) { // documents logger.debug("[BROWSER2] [APP] [B2] [MAIN MODEL] [" + documents.size() + " DOCUMENTS]"); for(final MainCellDocument mcd : documents) logger.debug("[BROWSER2] [APP] [B2] [MAIN MODEL] [" + mcd.... | void debug() { if(browser.getPlatform().isDebugMode()) { // documents logger.debug("[BROWSER2] [APP] [B2] [MAIN MODEL] [" + documents.size() + " DOCUMENTS]"); for(final MainCellDocument mcd : documents) logger.debug("[BROWSER2] [APP] [B2] [MAIN MODEL] [" + mcd.... | 1,113,467 |
void debug() { if(browser.getPlatform().isDebugMode()) { // documents logger.debug("[BROWSER2] [APP] [B2] [MAIN MODEL] [" + documents.size() + " DOCUMENTS]"); for(final MainCellDocument mcd : documents) logger.debug("[BROWSER2] [APP] [B2] [MAIN MODEL] [" + mcd.... | void debug() { if(browser.getPlatform().isDebugMode()) { // documents logger.debug("[BROWSER2] [APP] [B2] [MAIN MODEL] [" + documents.size() + " DOCUMENTS]"); for(final MainCellDocument mcd : documents) logger.debug("[BROWSER2] [APP] [B2] [MAIN MODEL] [" + mcd.... | 1,113,468 |
private void expand(final MainCellDocument mcd) { mcd.setExpanded(Boolean.TRUE); final MainCellHistoryItem[] mchiArray = (MainCellHistoryItem[]) contentProvider.getElements(1, mcd); for(final MainCellHistoryItem mchi : mchiArray) { history.add(mchi); } } | private void expand(final MainCellDocument mcd) { mcd.setExpanded(Boolean.TRUE); final MainCellHistoryItem[] mchiArray = (MainCellHistoryItem[]) contentProvider.getElements(1, mcd); final List<MainCellHistoryItem> lmchi = visibleHistory.containsKey(mcd) ? visibleHistory.get(mcd) : ne... | 1,113,469 |
public void trigger(final Browser application, final JPopupMenu jPopupMenu, final MouseEvent e) { if(historyItem.isSetVersionId()) { jPopupMenu.add(new OpenVersion(application)); if(!historyItem.getDocument().isClosed()) { final Set<User> team = historyItem.get... | public void trigger(final Browser application, final JPopupMenu jPopupMenu, final MouseEvent e) { if(historyItem.isSetVersionId()) { jPopupMenu.add(new OpenVersion(application)); if(!historyItem.getDocument().isClosed()) { final Set<User> team = historyItem.get... | 1,113,471 |
public void trigger(final Browser application, final JPopupMenu jPopupMenu, final MouseEvent e) { if(historyItem.isSetVersionId()) { jPopupMenu.add(new OpenVersion(application)); if(!historyItem.getDocument().isClosed()) { final Set<User> team = historyItem.get... | public void trigger(final Browser application, final JPopupMenu jPopupMenu, final MouseEvent e) { if(historyItem.isSetVersionId()) { jPopupMenu.add(new OpenVersion(application)); if(!historyItem.getDocument().isClosed()) { final Set<User> team = historyItem.get... | 1,113,472 |
void open(final String title, final Avatar avatar) { getRootPane().setBorder(new WindowBorder()); setTitle(title); add(avatar); pack(); avatar.reload(); avatar.setRoundCorners(Boolean.TRUE); setLocation(calculateLocation()); roundCorners(); setVisible(t... | void open(final String title, final Avatar avatar) { getRootPane().setBorder(new WindowBorder()); setTitle(title); add(avatar); pack(); avatar.reload(); setLocation(calculateLocation()); roundCorners(); setVisible(true); } | 1,113,473 |
void open(final String title, final Avatar avatar) { getRootPane().setBorder(new WindowBorder()); setTitle(title); add(avatar); pack(); avatar.reload(); avatar.setRoundCorners(Boolean.TRUE); setLocation(calculateLocation()); roundCorners(); setVisible(t... | void open(final String title, final Avatar avatar) { getRootPane().setBorder(new WindowBorder()); setTitle(title); add(avatar); pack(); avatar.reload(); avatar.setRoundCorners(Boolean.TRUE); setLocation(calculateLocation()); new NativeSkin().roundCorners(this)... | 1,113,474 |
private Map<DocumentVersion, Delta> readDocumentVersionsWithDelta(final Long containerId, final Long versionId) { return ((ContainerProvider) contentProvider).readDocumentVersionsWithDelta( containerId, versionId); } | private Map<DocumentVersion, Delta> readDocumentVersionsWithDelta(final Long containerId, final Long versionId) { return ((ContainerProvider) contentProvider).readDocumentVersionDeltas( containerId, versionId); } | 1,113,477 |
public PopupDocument(final MainCellDocument document) { super(); this.document = document; this.l18n = new PopupL18n("DocumentListItem"); } | public PopupDocument(final MainCellDocument document, final Connection connection) { super(); this.document = document; this.l18n = new PopupL18n("DocumentListItem"); } | 1,113,478 |
public void trigger(final Browser application, final JPopupMenu jPopupMenu, final MouseEvent e) { if(document.isUrgent()) { final List<KeyRequest> keyRequests = document.getKeyRequests(); if(keyRequests.size() >= 1) { final Set<JabberId> requestedBySet = new HashSet<Jabbe... | public void trigger(final Browser application, final JPopupMenu jPopupMenu, final MouseEvent e) { if(document.isUrgent()) { final List<KeyRequest> keyRequests = document.getKeyRequests(); if(keyRequests.size() >= 1) { final Set<JabberId> requestedBySet = new HashSet<Jabbe... | 1,113,480 |
public void actionPerformed(final ActionEvent e) { application.runLogin(); } | public void actionPerformed(final ActionEvent e) { application.runLogin(); } | 1,113,482 |
public void actionPerformed(final ActionEvent e) { application.runLogout(); } | public void actionPerformed(final ActionEvent e) { application.runLogout(); } | 1,113,483 |
public void actionPerformed(final ActionEvent e) { application.runRestoreBrowser(); }})); | public void actionPerformed(final ActionEvent e) { application.runRestoreBrowser(); }})); | 1,113,484 |
public void actionPerformed(final ActionEvent e) { application.displayAbout(); } | public void actionPerformed(final ActionEvent e) { application.displayAbout(); } | 1,113,485 |
public void actionPerformed(ActionEvent e) { application.runExitPlatform(); } | public void actionPerformed(ActionEvent e) { application.runExitPlatform(); } | 1,113,486 |
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ... | protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ... | 1,113,487 |
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ... | protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ... | 1,113,488 |
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ... | protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ... | 1,113,489 |
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ... | protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ... | 1,113,490 |
static void notifyArtifactClosed(final UUID artifactUniqueId, final JabberId artifactClosedBy) { try { final InternalDocumentModel iDModel = DocumentModel.getInternalModel(sContext); iDModel.close(artifactUniqueId, artifactClosedBy); } catch(final ParityException px) { sLogger.fatal("Could not close artifac... | static void notifyArtifactClosed(final UUID artifactUniqueId, final JabberId artifactClosedBy) { try { final InternalDocumentModel iDModel = DocumentModel.getInternalModel(sContext); iDModel.close(artifactUniqueId, artifactClosedBy); } catch(final ParityException px) { sLogger.fatal("Could not close artifac... | 1,113,491 |
static void notifyDocumentReceived(final XMPPDocument xmppDocument) { try { DocumentModel.getInternalModel(sContext).receive(xmppDocument); } catch(ParityException px) { sLogger.fatal("Could not receive document.", px); return; } } | static void notifyDocumentReceived(final XMPPDocument xmppDocument) { try { DocumentModel.getInternalModel(sContext).receive(xmppDocument); } catch(ParityException px) { sLogger.fatal("Could not receive document.", px); return; } } | 1,113,492 |
static void notifyKeyRequestAccepted(final UUID artifactUniqueId, final JabberId acceptedBy) { final InternalDocumentModel iDModel = DocumentModel.getInternalModel(sContext); try { final Document document = iDModel.get(artifactUniqueId); iDModel.unlock(document.getId()); SystemMessageModel.getInternalModel... | static void notifyKeyRequestAccepted(final UUID artifactUniqueId, final JabberId acceptedBy) throws SmackException, ParityException { final InternalDocumentModel iDModel = DocumentModel.getInternalModel(sContext); try { final Document document = iDModel.get(artifactUniqueId); iDModel.unlock(document.getId())... | 1,113,493 |
static void notifyKeyRequestAccepted(final UUID artifactUniqueId, final JabberId acceptedBy) { final InternalDocumentModel iDModel = DocumentModel.getInternalModel(sContext); try { final Document document = iDModel.get(artifactUniqueId); iDModel.unlock(document.getId()); SystemMessageModel.getInternalModel... | static void notifyKeyRequestAccepted(final UUID artifactUniqueId, final JabberId acceptedBy) { final InternalDocumentModel iDModel = DocumentModel.getInternalModel(sContext); try { final Document document = iDModel.get(artifactUniqueId); iDModel.unlock(document.getId()); SystemMessageModel.getInternalModel... | 1,113,494 |
static void notifyKeyRequestAccepted(final UUID artifactUniqueId, final JabberId acceptedBy) { final InternalDocumentModel iDModel = DocumentModel.getInternalModel(sContext); try { final Document document = iDModel.get(artifactUniqueId); iDModel.unlock(document.getId()); SystemMessageModel.getInternalModel... | static void notifyKeyRequestAccepted(final UUID artifactUniqueId, final JabberId acceptedBy) { final InternalDocumentModel iDModel = DocumentModel.getInternalModel(sContext); try { final Document document = iDModel.get(artifactUniqueId); iDModel.unlock(document.getId()); SystemMessageModel.getInternalModel... | 1,113,495 |
static void notifyKeyRequestAccepted(final UUID artifactUniqueId, final JabberId acceptedBy) { final InternalDocumentModel iDModel = DocumentModel.getInternalModel(sContext); try { final Document document = iDModel.get(artifactUniqueId); iDModel.unlock(document.getId()); SystemMessageModel.getInternalModel... | static void notifyKeyRequestAccepted(final UUID artifactUniqueId, final JabberId acceptedBy) { final InternalDocumentModel iDModel = DocumentModel.getInternalModel(sContext); try { final Document document = iDModel.get(artifactUniqueId); iDModel.unlock(document.getId()); SystemMessageModel.getInternalModel... | 1,113,496 |
static void notifyKeyRequestDenied(final UUID artifactUniqueId, final JabberId deniedBy) { try { final Document document = DocumentModel.getInternalModel(sContext).get(artifactUniqueId); SystemMessageModel.getInternalModel(sContext). createKeyResponse(document.getId(), Boolean.FALSE, deniedBy); } catch(... | static void notifyKeyRequestDenied(final UUID artifactUniqueId, final JabberId deniedBy) { try { final Document document = DocumentModel.getInternalModel(sContext).get(artifactUniqueId); SystemMessageModel.getInternalModel(sContext). createKeyResponse(document.getId(), Boolean.FALSE, deniedBy); } catch(... | 1,113,497 |
static void notifyKeyRequested(final UUID artifactUniqueId, final JabberId requestedBy) { try { final Document document = DocumentModel.getInternalModel(sContext).get(artifactUniqueId); SystemMessageModel.getInternalModel(sContext).createKeyRequest(document.getId(), requestedBy); // audit key request final Us... | static void notifyKeyRequested(final UUID artifactUniqueId, final JabberId requestedBy) { try { final Document document = DocumentModel.getInternalModel(sContext).get(artifactUniqueId); SystemMessageModel.getInternalModel(sContext).createKeyRequest(document.getId(), requestedBy); // audit key request final Us... | 1,113,498 |
static void notifyKeyRequested(final UUID artifactUniqueId, final JabberId requestedBy) { try { final Document document = DocumentModel.getInternalModel(sContext).get(artifactUniqueId); SystemMessageModel.getInternalModel(sContext).createKeyRequest(document.getId(), requestedBy); // audit key request final Us... | static void notifyKeyRequested(final UUID artifactUniqueId, final JabberId requestedBy) { try { final Document document = DocumentModel.getInternalModel(sContext).get(artifactUniqueId); SystemMessageModel.getInternalModel(sContext).createKeyRequest(document.getId(), requestedBy); // audit key request final Us... | 1,113,499 |
protected InternalDocumentModel getInternalDocumentModel() { return DocumentModel.getInternalModel(getContext(), workspace); } | protected InternalDocumentModel getInternalDocumentModel() { return DocumentModel.getInternalModel(getContext(), workspace); }; | 1,113,500 |
protected InternalDownloadModel getInternalDownloadModel() { return DownloadModel.getInternalModel(getContext(), workspace); }; | protected InternalDownloadModel getInternalDownloadModel() { return DownloadModel.getInternalModel(getContext(), workspace); } | 1,113,501 |
protected final void logVariable(final String name, final Object value) { if(logger.isDebugEnabled()) { logger.debug(MessageFormat.format("{0} {1}:{2}", null == workspace ? "null" : workspace.getWorkspaceDirectory().getName(), name, Log4JHelper.render(logger, ... | protected final void logVariable(final String name, final Object value) { if(logger.isDebugEnabled()) { logger.debug(MessageFormat.format("{0} {1}:{2}", null == workspace ? NO_WORKSPACE : workspace.getWorkspaceDirectory().getName(), name, Log4JHelper.render(lo... | 1,113,502 |
private Avatar createDocumentHistory3List() { final Avatar a = new DocumentHistoryAvatar3(); a.setContentProvider(ProviderFactory.getHistoryProvider()); return a; } | private Avatar createDocumentHistory3List() { final Avatar a = new HistoryItems(); a.setContentProvider(ProviderFactory.getHistoryProvider()); return a; } | 1,113,503 |
private Avatar doCreate(final AvatarId id) { final Avatar avatar; switch(id) { case BROWSER_INFO: avatar = createBrowserInfo(); break; case BROWSER_MAIN: avatar = createBrowserMain(); break; case BROWSER_TITLE: avatar = createBrowserTitle(); break; case DOCUMENT_HISTORY3: avatar = createDocumentHis... | private Avatar doCreate(final AvatarId id) { final Avatar avatar; switch(id) { case BROWSER_INFO: avatar = createBrowserInfo(); break; case BROWSER_MAIN: avatar = createBrowserMain(); break; case BROWSER_TITLE: avatar = createBrowserTitle(); break; case DOCUMENT_HISTORY3: avatar = createDocumentHis... | 1,113,504 |
private void initComponents() { dateJLabel = LabelFactory.create(BrowserConstants.SmallFont); eventJLabel = LabelFactory.create(BrowserConstants.SmallFont); versionJLabel = LabelFactory.create(BrowserConstants.SmallFont); final GridBagConstraints c = new GridBagConstraints(); c.insets.left = 7; c.anchor = GridBa... | private void initComponents() { dateJLabel = LabelFactory.create(BrowserConstants.SmallFont); eventJLabel = LabelFactory.create(BrowserConstants.SmallFont); versionJLabel = LabelFactory.create(BrowserConstants.SmallFont); final GridBagConstraints c = new GridBagConstraints(); c.insets.left = 7; c.anchor = GridBa... | 1,113,505 |
private void initComponents() { dateJLabel = LabelFactory.create(BrowserConstants.SmallFont); eventJLabel = LabelFactory.create(BrowserConstants.SmallFont); versionJLabel = LabelFactory.create(BrowserConstants.SmallFont); final GridBagConstraints c = new GridBagConstraints(); c.insets.left = 7; c.anchor = GridBa... | private void initComponents() { dateJLabel = LabelFactory.create(BrowserConstants.SmallFont); eventJLabel = LabelFactory.create(BrowserConstants.SmallFont); versionJLabel = LabelFactory.create(BrowserConstants.SmallFont); final GridBagConstraints c = new GridBagConstraints(); c.insets.left = 7; c.anchor = GridBa... | 1,113,506 |
public String getBundleURIToScriptsFolder(){ if(rootScriptsFolderBundleURI == null){ IWBundle iwb = this.getBundle(); rootScriptsFolderBundleURI = iwb.getResourcesPath()+"javascript/"; } return rootScriptsFolderBundleURI; } | public String getBundleURIToScriptsFolder(){ if(rootScriptsFolderBundleURI == null){ IWBundle iwb = this.getBundle(); rootScriptsFolderBundleURI = iwb.getResourcesVirtualPath()+"/javascript/"; } return rootScriptsFolderBundleURI; } | 1,113,507 |
protected void setUp() throws Exception { super.setUp(); final DocumentModel documentModel = getDocumentModel(OpheliaTestUser.JUNIT); final File inputFile = getInputFiles()[0]; final Document document = createDocument(OpheliaTestUser.JUNIT, inputFile); modifyDocument(OpheliaTestUser.JUNIT, docum... | protected void setUp() throws Exception { super.setUp(); final DocumentModel documentModel = getDocumentModel(OpheliaTestUser.JUNIT); final File inputFile = getInputFiles()[0]; final Document document = createDocument(OpheliaTestUser.JUNIT, inputFile); modifyDocument(OpheliaTestUser.JUNIT, docum... | 1,113,508 |
public Boolean confirm(final String confirmMessageKey) { return ConfirmDialog.confirm(mainWindow, confirmMessageKey); } | public Boolean confirm(final String confirmMessageKey) { return ConfirmDialog.confirm(mainWindow, confirmMessageKey); } | 1,113,510 |
private Boolean didConfirm() { return confirm; } | public Boolean didConfirm() { return confirm; } | 1,113,511 |
public void run() { LOGGER.logApiId(); LOGGER.logVariable("streamId", streamId); LOGGER.logVariable("streamId", streamOffset); LOGGER.logVariable("streamId", streamSize); try { final InputStream input = streamServer.openInputStream(streamSession, streamId... | public void run() { LOGGER.logApiId(); LOGGER.logVariable("streamId", streamId); LOGGER.logVariable("streamId", streamOffset); LOGGER.logVariable("streamId", streamSize); try { final InputStream input = streamServer.openInputStream(streamSession, streamId... | 1,113,512 |
public ServletLogger( ServletContext sc ) { servletContext = sc; } | public ServletLogger() { servletContext = sc; } | 1,113,513 |
public ServletLogger( ServletContext sc ) { servletContext = sc; } | public ServletLogger( ServletContext sc ) { } | 1,113,514 |
private CreationListener createDocumentModelCreationListener() { return new CreationListener() { public void objectCreated(final CreationEvent e) {} public void objectReceived(final CreationEvent e) { controller.reloadMainBrowserAvatar(); } public void objectVersionCreated(final VersionCreationEvent e) { ... | private CreationListener createDocumentModelCreationListener() { return new CreationListener() { public void objectCreated(final CreationEvent e) {} public void objectReceived(final CreationEvent e) { controller.reloadMainBrowserAvatar(); } public void objectVersionCreated(final VersionCreationEvent e) { ... | 1,113,516 |
public void objectVersionReceived(VersionCreationEvent e) {} | public void objectVersionReceived(final VersionCreationEvent e) { controller.reloadMainBrowserAvatar(); } | 1,113,517 |
private UpdateListener createDocumentModelUpdateListener() { return new UpdateListener() { public void objectDeleted(final DeleteEvent e) { controller.reloadMainBrowserAvatar(); } public void objectReceived(final UpdateEvent e) {} public void objectUpdated(final UpdateEvent e) { controller.reloadMainBro... | private UpdateListener createDocumentModelUpdateListener() { return new UpdateListener() { public void objectDeleted(final DeleteEvent e) { controller.reloadMainBrowserAvatar(); } public void objectReceived(final UpdateEvent e) { controller.reloadMainBrowserAvatar(); } public void objectUpdated(final Updat... | 1,113,518 |
public void objectReceived(final UpdateEvent e) {} | public void objectReceived(final UpdateEvent e) { controller.reloadMainBrowserAvatar(); } | 1,113,519 |
private KeyListener createSessionModelKeyListener() { return new KeyListener() { public void keyRequestAccepted(final KeyEvent e) {} public void keyRequestDenied(final KeyEvent e) {} public void keyRequested(final KeyEvent e) {} }; } | private KeyListener createSessionModelKeyListener() { return new KeyListener() { public void keyRequestAccepted(final KeyEvent e) {} public void keyRequestDenied(final KeyEvent e) {} public void keyRequested(final KeyEvent e) {} }; } | 1,113,520 |
public void keyRequestAccepted(final KeyEvent e) {} | public void keyRequestAccepted(final KeyEvent e) { controller.reloadMainBrowserAvatar(); } | 1,113,521 |
public void keyRequestDenied(final KeyEvent e) {} | public void keyRequestDenied(final KeyEvent e) { controller.reloadMainBrowserAvatar(); } | 1,113,522 |
public void keyRequested(final KeyEvent e) {} | public void keyRequested(final KeyEvent e) { controller.reloadMainBrowserAvatar(); } | 1,113,523 |
private PresenceListener createSessionModelPresenceListener() { return new PresenceListener() { public void presenceRequested(final PresenceEvent e) {} }; } | private PresenceListener createSessionModelPresenceListener() { return new PresenceListener() { public void presenceRequested(final PresenceEvent e) { controller.reloadMainBrowserAvatar(); } }; } | 1,113,524 |
public void presenceRequested(final PresenceEvent e) {} | public void presenceRequested(final PresenceEvent e) { controller.reloadMainBrowserAvatar(); } | 1,113,525 |
public void addListener(final PresenceListener presenceListener) { synchronized(implLock) { impl.addListener(presenceListener); } } | public void addListener(final PresenceListener presenceListener) { synchronized(implLock) { impl.addListener(presenceListener); } } | 1,113,526 |
public void mouseClicked(java.awt.event.MouseEvent evt) { rightJPanelMouseClicked(evt); } | public void mouseClicked(java.awt.event.MouseEvent evt) { leftJPanelMouseClicked(evt); } | 1,113,529 |
public void mousePressed(java.awt.event.MouseEvent evt) { rightJPanelMousePressed(evt); } | public void mousePressed(java.awt.event.MouseEvent evt) { leftJPanelMousePressed(evt); } | 1,113,530 |
public void prepareForRepaint() { // Set background colour final Color color = getBackgroundColor(); leftJPanel.setBackground(color); rightJPanel.setBackground(color); // Make sure the split pane remains in a 50/50 split if (versionsJSplitPane.getSize().ge... | public void prepareForRepaint() { // Set background colour final Color color = getBackgroundColor(); leftJPanel.setBackground(color); rightJPanel.setBackground(color); // Make sure the split pane remains in a 50/50 split if (versionsJSplitPane.getSize().ge... | 1,113,531 |
TrayMenuBuilder(final SystemApplication application) { super(); this.application = application; this.browser = new AbstractAction(getString("Menu.Browser")) { private static final long serialVersionUID = 1; public void actionPerformed(final ActionEvent e) { ... | TrayMenuBuilder(final SystemApplication application) { super(); this.application = application; this.browser = new AbstractAction(getString("Menu.Browser")) { private static final long serialVersionUID = 1; public void actionPerformed(final ActionEvent e) { ... | 1,113,532 |
TrayMenuBuilder(final SystemApplication application) { super(); this.application = application; this.browser = new AbstractAction(getString("Menu.Browser")) { private static final long serialVersionUID = 1; public void actionPerformed(final ActionEvent e) { ... | TrayMenuBuilder(final SystemApplication application) { super(); this.application = application; this.browser = new AbstractAction(getString("Menu.Browser")) { private static final long serialVersionUID = 1; public void actionPerformed(final ActionEvent e) { ... | 1,113,533 |
TrayMenuBuilder(final SystemApplication application) { super(); this.application = application; this.browser = new AbstractAction(getString("Menu.Browser")) { private static final long serialVersionUID = 1; public void actionPerformed(final ActionEvent e) { ... | TrayMenuBuilder(final SystemApplication application) { super(); this.application = application; this.browser = new AbstractAction(getString("Menu.Browser")) { private static final long serialVersionUID = 1; public void actionPerformed(final ActionEvent e) { ... | 1,113,534 |
public static ActionMessages getMessages(HttpServletRequest request) { return (ActionMessages)request.getAttribute(Globals.MESSAGE_KEY); } | public static ActionMessages getMessages(HttpServletRequest request) { ActionMessages messages = new ActionMessages(); HttpSession session = request.getSession(false); if (session != null) { ActionMessages sessionMessages = (ActionMessages)session.getAttribute(Globals.MESSAGE_KEY); if (sessionMessages != ... | 1,113,535 |
ContainerVersion extractVersion(final Session session) { final ContainerVersion version = new ContainerVersion(); version.setArtifactId(session.getLong("CONTAINER_ID")); version.setArtifactType(session.getTypeFromInteger("ARTIFACT_TYPE_ID")); version.setArtifactUniqueId(session.getUniqueId("... | ContainerVersion extractVersion(final Session session) { final ContainerVersion version = new ContainerVersion(); version.setArtifactId(session.getLong("CONTAINER_ID")); version.setArtifactType(session.getTypeFromInteger("ARTIFACT_TYPE_ID")); version.setArtifactUniqueId(session.getUniqueId("... | 1,113,536 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.