bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
protected List createActionList(ValidatorResources resources, Form form) { List actionMethods = new ArrayList(); // Get List of actions for this Form for (Iterator i = form.getFields().iterator(); i.hasNext();) { Field field = (Field)i.next(); for (Iterator x = f...
protected List createActionList(ValidatorResources resources, Form form) { List actionMethods = new ArrayList(); // Get List of actions for this Form for (Iterator i = form.getFields().iterator(); i.hasNext();) { Field field = (Field)i.next(); for (Iterator x = f...
1,115,120
public void init(Object obj) { if (!(obj instanceof ViewContext)) { throw new IllegalArgumentException( "Tool can only be initialized with a ViewContext"); } this.context = (ViewContext)obj; this.request = context.getRequest(); this.session ...
public void init(Object obj) { if (!(obj instanceof ViewContext)) { throw new IllegalArgumentException( "Tool can only be initialized with a ViewContext"); } this.context = (ViewContext)obj; this.request = context.getRequest(); this.session ...
1,115,121
final void setParameter(final String name, final byte[] value) { parameters.add(new Parameter(name, byte[].class, value)); }
public final void setParameter(final String name, final byte[] value) { parameters.add(new Parameter(name, byte[].class, value)); }
1,115,122
private void setIcon() { switch(systemApplication.getConnection()) { case OFFLINE: systemTrayIcon.setIcon(Icons.Tray.TRAY_ICON_OFFLINE); break; case ONLINE: systemTrayIcon.setIcon(Icons.Tray.TRAY_ICON_ONLINE); default: throw Assert.createUnreac...
private void setIcon() { switch(systemApplication.getConnection()) { case OFFLINE: systemTrayIcon.setIcon(Icons.Tray.TRAY_ICON_OFFLINE); break; case ONLINE: systemTrayIcon.setIcon(Icons.Tray.TRAY_ICON_ONLINE); default: throw Assert.createUnreac...
1,115,123
public static void notmain(String[] args) throws Exception { if(debug) verbose = true; parseArgs(args); printlnVerbose("Processing: " + dmgFile); RandomAccessFile dmgRaf = new RandomAccessFile(dmgFile, "r"); RandomAccessFile isoRaf = null; boolean testOnly = false; if(isoFile != null) { isoRaf = new RandomAcce...
public static void notmain(String[] args) throws Exception { if(debug) verbose = true; parseArgs(args); printlnVerbose("Processing: " + dmgFile); RandomAccessFile dmgRaf = new RandomAccessFile(dmgFile, "r"); RandomAccessFile isoRaf = null; boolean testOnly = false; if(isoFile != null) { isoRaf = new RandomAcce...
1,115,124
public static void notmain(String[] args) throws Exception { if(debug) verbose = true; parseArgs(args); printlnVerbose("Processing: " + dmgFile); RandomAccessFile dmgRaf = new RandomAccessFile(dmgFile, "r"); RandomAccessFile isoRaf = null; boolean testOnly = false; if(isoFile != null) { isoRaf = new RandomAcce...
public static void notmain(String[] args) throws Exception { if(debug) verbose = true; parseArgs(args); printlnVerbose("Processing: " + dmgFile); RandomAccessFile dmgRaf = new RandomAccessFile(dmgFile, "r"); RandomAccessFile isoRaf = null; boolean testOnly = false; if(isoFile != null) { isoRaf = new RandomAcce...
1,115,125
private JFileChooser getJFileChooserForFileSelection() { if(null == jFileChooser) { jFileChooser = new JFileChooser(); jFileChooser.setMultiSelectionEnabled(Boolean.TRUE); } jFileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY); jFileChooser.setCurrentDirectory(persistence.get( ...
private JFileChooser getJFileChooserForFileSelection( final String currentDirectoryKey) { if(null == jFileChooser) { jFileChooser = new JFileChooser(); jFileChooser.setMultiSelectionEnabled(Boolean.TRUE); } jFileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY); jFileChooser.setCurr...
1,115,127
private JFileChooser getJFileChooserForFileSelection() { if(null == jFileChooser) { jFileChooser = new JFileChooser(); jFileChooser.setMultiSelectionEnabled(Boolean.TRUE); } jFileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY); jFileChooser.setCurrentDirectory(persistence.get( ...
private JFileChooser getJFileChooserForFileSelection() { if(null == jFileChooser) { jFileChooser = new JFileChooser(); jFileChooser.setMultiSelectionEnabled(Boolean.TRUE); } jFileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY); jFileChooser.setCurrentDirectory(persistence.get( ...
1,115,128
private JFileChooser getJFileChooserForFolderSelection() { if(null == jFileChooser) { jFileChooser = new JFileChooser(); jFileChooser.setMultiSelectionEnabled(Boolean.FALSE); } jFileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); jFileChooser.setCurrent...
private JFileChooser getJFileChooserForFolderSelection(final String currentDirectoryKey) { if(null == jFileChooser) { jFileChooser = new JFileChooser(); jFileChooser.setMultiSelectionEnabled(Boolean.FALSE); } jFileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY)...
1,115,129
private JFileChooser getJFileChooserForFolderSelection() { if(null == jFileChooser) { jFileChooser = new JFileChooser(); jFileChooser.setMultiSelectionEnabled(Boolean.FALSE); } jFileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); jFileChooser.setCurrent...
private JFileChooser getJFileChooserForFolderSelection() { if(null == jFileChooser) { jFileChooser = new JFileChooser(); jFileChooser.setMultiSelectionEnabled(Boolean.FALSE); } jFileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); jFileChooser.setCurrent...
1,115,130
public void runAddContainerDocuments(final Long containerId) { if(JFileChooser.APPROVE_OPTION == getJFileChooserForFileSelection().showOpenDialog(mainWindow)) { persistence.set( Keys.Persistence.JFILECHOOSER_CURRENT_DIRECTORY_FILE_SELECTION, jFileChooser.getCu...
public void runAddContainerDocuments(final Long containerId) { if(JFileChooser.APPROVE_OPTION == getJFileChooserForFileSelection().showOpenDialog(mainWindow)) { persistence.set( Keys.Persistence.JFILECHOOSER_CURRENT_DIRECTORY_FILE_SELECTION, jFileChooser.getCu...
1,115,131
public void runExportDraft(final Long containerId) { if(JFileChooser.APPROVE_OPTION == getJFileChooserForFolderSelection().showOpenDialog(mainWindow)) { persistence.set( Keys.Persistence.JFILECHOOSER_CURRENT_DIRECTORY_FOLDER_SELECTION, jFileChooser.getCurrentD...
public void runExportDraft(final Long containerId) { if(JFileChooser.APPROVE_OPTION == getJFileChooserForFolderSelection().showOpenDialog(mainWindow)) { persistence.set( Keys.Persistence.JFILECHOOSER_CURRENT_DIRECTORY_FOLDER_SELECTION, jFileChooser.getCurrentD...
1,115,132
public void runExportVersion(final Long containerId, final Long versionId) { if(JFileChooser.APPROVE_OPTION == getJFileChooserForFolderSelection().showOpenDialog(mainWindow)) { persistence.set( Keys.Persistence.JFILECHOOSER_CURRENT_DIRECTORY_FOLDER_SELECTION, ...
public void runExportVersion(final Long containerId, final Long versionId) { if(JFileChooser.APPROVE_OPTION == getJFileChooserForFolderSelection().showOpenDialog(mainWindow)) { persistence.set( Keys.Persistence.JFILECHOOSER_CURRENT_DIRECTORY_FOLDER_SELECTION, ...
1,115,133
void send(final QueueItem queueItem) { logApiId(); logger.debug(queueItem); final JID jid = JIDBuilder.build(queueItem.getUsername()); try { final Document queueItemDocument = readXml(queueItem.getQueueMessage()); final IQ iq = new IQ(queueItemDocument.getRootElement()); iq.setTo(jid); send(Jabber...
void send(final QueueItem queueItem) { logApiId(); logger.debug(queueItem); final JID jid = JIDBuilder.build(queueItem.getUsername()); try { final Document queueItemDocument = readXml(queueItem.getQueueMessage()); final IQ iq = new IQ(queueItemDocument.getRootElement()); iq.setTo(jid); send(Jabber...
1,115,134
public String getAuthorRelevance() { return getProperty(keyAuthorRelevance); }
public String getAuthorRelevance() { return getProperty(keyAuthorRelevance); }
1,115,136
public String getTopicRelevance() { return getProperty(keyTopicRelevance); }
public String getTopicRelevance() { return getProperty(keyTopicRelevance); }
1,115,137
public boolean canImport(final JComponent comp, final DataFlavor[] transferFlavors) { logger.debug(comp.getClass().getSimpleName()); if(TxUtils.containsJavaFileList(transferFlavors)) { return true; } return false; }
public boolean canImport(final JComponent comp, final DataFlavor[] transferFlavors) { logger.debug(comp.getClass().getSimpleName()); if(TxUtils.containsJavaFileList(transferFlavors)) { if(Connection.ONLINE == browser.getConnectionStatus()) { return true; } } return false; }
1,115,138
protected JMenuItem createJMenuItem(final String localKey, final Object[] arguments, final ActionListener actionListener) { return createJMenuItem(getString(localKey, arguments), getMnemonic(localKey), actionListener); }
protected JMenuItem createJMenuItem(final String localKey, final Object[] arguments, final ActionListener actionListener) { return createJMenuItem(getString(localKey, arguments), getMnemonic(localKey), actionListener); }
1,115,140
protected String createSessionId(final JabberId userId) { // TODO Generate a unique id per user id and store it in the user's // meta-data final String hashString = new StringBuffer(userId.toString()) .append("LSAHD-QOIUQOE-ZXBVMNZNX-MZXXNCBVMX") .insert(0, "LKSJD-...
protected String createSessionId(final JabberId userId) { // TODO Generate a unique id per user id and store it in the user's // meta-data final String hashString = new StringBuffer(userId.toString()) .append("LSAHD-QOIUQOE-ZXBVMNZNX-MZXXNCBVMX") .insert(0, "LKSJD-...
1,115,141
public void run() { logger.logApiId(); logger.logVariable("run", run); try { while (run) { started = true; synchronized (this) { notifyAll(); } final Socket clientSocket = serverSocket.accept(); ...
public void run() { logger.logApiId(); logger.logVariable("run", run); try { while (run) { started = true; synchronized (this) { notifyAll(); } final Socket clientSocket = serverSocket.accept(); ...
1,115,142
void revertDraft(final Long documentId) { logger.logApiId(); logger.logVariable("documentId", documentId); revertDraft(documentId, readLatestVersion(documentId).getVersionId()); }
void revertDraft(final Long documentId) { logger.logApiId(); logger.logVariable("documentId", documentId); try { revertDraft(documentId, readLatestVersion(documentId).getVersionId()); } catch (final Throwable t) { throw translateError(t); } }
1,115,143
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
protected Reader acquireReader(String url) throws IOException, Exception { if (!isAbsoluteUrl(url)) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
1,115,144
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
1,115,145
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
1,115,146
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
1,115,147
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
1,115,148
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
protected Reader acquireReader(String url) throws IOException, Exception { if (!this.isAbsoluteUrl) { // for relative URLs, delegate to our peer return new StringReader(acquireString(url)); } else { // absolute URL try { ...
1,115,149
protected String acquireString(String url) throws IOException, Exception { // Record whether our URL is absolute or relative this.isAbsoluteUrl = isAbsoluteUrl(url); if (this.isAbsoluteUrl) { // for absolute URLs, delegate to our peer BufferedReader r = new Buffered...
protected String acquireString(String url) throws IOException, Exception { // Record whether our URL is absolute or relative this.isAbsoluteUrl = isAbsoluteUrl(url); if (this.isAbsoluteUrl) { // for absolute URLs, delegate to our peer BufferedReader r = new Buffered...
1,115,151
protected String acquireString(String url) throws IOException, Exception { // Record whether our URL is absolute or relative this.isAbsoluteUrl = isAbsoluteUrl(url); if (this.isAbsoluteUrl) { // for absolute URLs, delegate to our peer BufferedReader r = new Buffered...
protected String acquireString(String url) throws IOException, Exception { // Record whether our URL is absolute or relative this.isAbsoluteUrl = isAbsoluteUrl(url); if (this.isAbsoluteUrl) { // for absolute URLs, delegate to our peer BufferedReader r = new Buffered...
1,115,152
protected String acquireString(String url) throws IOException, Exception { // Record whether our URL is absolute or relative this.isAbsoluteUrl = isAbsoluteUrl(url); if (this.isAbsoluteUrl) { // for absolute URLs, delegate to our peer BufferedReader r = new Buffered...
protected String acquireString(String url) throws IOException, Exception { // Record whether our URL is absolute or relative this.isAbsoluteUrl = isAbsoluteUrl(url); if (this.isAbsoluteUrl) { // for absolute URLs, delegate to our peer BufferedReader r = new Buffered...
1,115,153
protected String acquireString(String url) throws IOException, Exception { // Record whether our URL is absolute or relative this.isAbsoluteUrl = isAbsoluteUrl(url); if (this.isAbsoluteUrl) { // for absolute URLs, delegate to our peer BufferedReader r = new Buffered...
protected String acquireString(String url) throws IOException, Exception { // Record whether our URL is absolute or relative this.isAbsoluteUrl = isAbsoluteUrl(url); if (this.isAbsoluteUrl) { // for absolute URLs, delegate to our peer BufferedReader r = new Buffered...
1,115,154
protected final InputStream downloadStream(final String streamId) throws IOException { final File streamFile = workspace.createTempFile(streamId); final FileOutputStream stream = new FileOutputStream(streamFile); final StreamSession session = getSessionModel().createStreamSession(); fina...
protected final File downloadStream(final String streamId) throws IOException { final File streamFile = workspace.createTempFile(streamId); final FileOutputStream stream = new FileOutputStream(streamFile); final StreamSession session = getSessionModel().createStreamSession(); final Strea...
1,115,155
protected final InputStream downloadStream(final String streamId) throws IOException { final File streamFile = workspace.createTempFile(streamId); final FileOutputStream stream = new FileOutputStream(streamFile); final StreamSession session = getSessionModel().createStreamSession(); fina...
protected final InputStream downloadStream(final String streamId) throws IOException { final File streamFile = workspace.createTempFile(streamId); final FileOutputStream stream = new FileOutputStream(streamFile); final StreamSession session = getSessionModel().createStreamSession(); fina...
1,115,156
protected void doInsertCollection(Session session, Node parentNode, CollectionDescriptor collectionDescriptor, ManageableCollection collection) throws RepositoryException { if (collection == null) {...
protected void doInsertCollection(Session session, Node parentNode, CollectionDescriptor collectionDescriptor, ManageableCollection collection) throws RepositoryException { if (collection == null) {...
1,115,157
protected void doUpdateCollection(Session session, Node parentNode, CollectionDescriptor collectionDescriptor, ManageableCollection collection) throws RepositoryException { String jcrName = getCollectionJcrName(co...
protected void doUpdateCollection(Session session, Node parentNode, CollectionDescriptor collectionDescriptor, ManageableCollection collection) throws RepositoryException { String jcrName = getCollectionJcrName(co...
1,115,158
protected void setUp() throws Exception { super.setUp(); data = new Vector<Fixture>(getInputFilesLength()); final DocumentModel documentModel = getDocumentModel(); String name, description; Document document; for(File testFile : getInputFiles()) { name = testFile.getName(); description = "Document: " + name...
protected void setUp() throws Exception { super.setUp(); data = new Vector<Fixture>(getInputFilesLength()); final DocumentModel documentModel = getDocumentModel(); String name, description; Document document; for(File testFile : getInputFiles()) { name = testFile.getName(); description = "Document: " + name...
1,115,160
void triggerPopup(final MainCell mainCell, final Component invoker, final MouseEvent e, final int x, final int y) { final JPopupMenu jPopupMenu = MenuFactory.createPopup(); if(mainCell instanceof MainCellDocument) { new PopupDocument((MainCellDocument) mainCell).trigger(browser, ...
void triggerPopup(final MainCell mainCell, final Component invoker, final MouseEvent e, final int x, final int y) { final JPopupMenu jPopupMenu = MenuFactory.createPopup(); if(mainCell instanceof MainCellDocument) { new PopupDocument((MainCellDocument) mainCell, browser.getConnec...
1,115,161
void triggerPopup(final MainCell mainCell, final Component invoker, final MouseEvent e, final int x, final int y) { final JPopupMenu jPopupMenu = MenuFactory.createPopup(); if(mainCell instanceof MainCellDocument) { new PopupDocument((MainCellDocument) mainCell).trigger(browser, ...
void triggerPopup(final MainCell mainCell, final Component invoker, final MouseEvent e, final int x, final int y) { final JPopupMenu jPopupMenu = MenuFactory.createPopup(); if(mainCell instanceof MainCellDocument) { new PopupDocument((MainCellDocument) mainCell).trigger(browser, ...
1,115,162
public Map getToolbox(Object initData) { //we know the initData is a ViewContext ViewContext ctx = (ViewContext)initData; //create the toolbox map with the application tools in it Map toolbox = new HashMap(appTools); if (!sessionToolInfo.isEmpty()) { H...
public Map getToolbox(Object initData) { //we know the initData is a ViewContext ViewContext ctx = (ViewContext)initData; //create the toolbox map with the application tools in it Map toolbox = new HashMap(appTools); if (!sessionToolInfo.isEmpty()) { H...
1,115,165
public IQ parseIQ(final XmlPullParser parser) throws Exception { final XMPPMethodResponse response = new XMPPMethodResponse(); parser.next(); while(true) { logger.logVariable("parser.getName()", parser.getName()); logger.logVariable("parser.getDepth...
public IQ parseIQ(final XmlPullParser parser) throws Exception { final XMPPMethodResponse response = new XMPPMethodResponse(); parser.next(); while(true) { logger.logVariable("parser.getName()", parser.getName()); logger.logVariable("parser.getDepth...
1,115,167
public IQ parseIQ(final XmlPullParser parser) throws Exception { final XMPPMethodResponse response = new XMPPMethodResponse(); parser.next(); while(true) { logger.logVariable("parser.getName()", parser.getName()); logger.logVariable("parser.getDepth...
public IQ parseIQ(final XmlPullParser parser) throws Exception { final XMPPMethodResponse response = new XMPPMethodResponse(); parser.next(); while(true) { logger.logVariable("parser.getName()", parser.getName()); logger.logVariable("parser.getDepth...
1,115,168
private Fixture(final List<Contact> contacts, final Container container, final ContainerModel containerModel) { this.contacts = contacts; this.container = container; this.containerModel = containerModel; this.didNotify = Boolean.FALSE; this.t...
private Fixture(final List<Contact> contacts, final Container container, final ContainerModel containerModel) { this.contacts = contacts; this.container = container; this.containerModel = containerModel; this.didNotify = Boolean.FALSE; this.t...
1,115,169
private Fixture(final List<Contact> contacts, final Container container, final ContainerModel containerModel) { this.contacts = contacts; this.container = container; this.containerModel = containerModel; this.didNotify = Boolean.FALSE; this.t...
private Fixture(final List<Contact> contacts, final Container container, final ContainerModel containerModel) { this.contacts = contacts; this.container = container; this.containerModel = containerModel; this.didNotify = Boolean.FALSE; addQue...
1,115,170
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); final ContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); addDocuments(OpheliaTestUser.JUNIT, cont...
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); final ContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); addDocuments(OpheliaTestUser.JUNIT, cont...
1,115,171
protected void tearDown() throws Exception { logger.logTraceId(); datum.containerModel.removeListener(datum); datum = null; logger.logTraceId(); logout(OpheliaTestUser.JUNIT); logger.logTraceId(); super.tearDown(); logger.logTraceId(); }
protected void tearDown() throws Exception { logger.logTraceId(); datum.containerModel.removeListener(datum); datum = null; logger.logTraceId(); logout(OpheliaTestUser.JUNIT); logger.logTraceId(); super.tearDown(); logger.logTraceId(); }
1,115,172
protected void tearDown() throws Exception { logger.logTraceId(); datum.containerModel.removeListener(datum); datum = null; logger.logTraceId(); logout(OpheliaTestUser.JUNIT); logger.logTraceId(); super.tearDown(); logger.logTraceId(); }
protected void tearDown() throws Exception { logger.logTraceId(); datum.containerModel.removeListener(datum); datum = null; logger.logTraceId(); logout(OpheliaTestUser.JUNIT); logger.logTraceId(); super.tearDown(); logger.logTraceId(); }
1,115,173
protected void tearDown() throws Exception { logger.logTraceId(); datum.containerModel.removeListener(datum); datum = null; logger.logTraceId(); logout(OpheliaTestUser.JUNIT); logger.logTraceId(); super.tearDown(); logger.logTraceId(); }
protected void tearDown() throws Exception { datum.containerModel.removeListener(datum); datum = null; logout(OpheliaTestUser.JUNIT); super.tearDown(); }
1,115,174
public void testPublish() { logger.logTraceId(); datum.containerModel.publish( datum.container.getId(), datum.contacts, datum.teamMembers); logger.logTraceId(); assertTrue("The draft published event was not fired.", datum.didNotify); // ensure the system is the key ...
public void testPublish() { logger.logTraceId(); datum.containerModel.publish( datum.container.getId(), datum.contacts, datum.teamMembers); logger.logTraceId(); assertTrue("The draft published event was not fired.", datum.didNotify); // ensure the system is the key ...
1,115,175
public void testPublish() { logger.logTraceId(); datum.containerModel.publish( datum.container.getId(), datum.contacts, datum.teamMembers); logger.logTraceId(); assertTrue("The draft published event was not fired.", datum.didNotify); // ensure the system is the key ...
public void testPublish() { logger.logTraceId(); datum.containerModel.publish( datum.container.getId(), datum.contacts, datum.teamMembers); logger.logTraceId(); assertTrue("The draft published event was not fired.", datum.didNotify); // ensure the system is the key ...
1,115,176
private void initializeLogging() { final File logDirectory = new File(JiveGlobals.getHomeDirectory(), "logs"); System.setProperty("thinkparity.log4j.file", new File(logDirectory, "desdemona.log").getAbsolutePath()); logger = new Log4JWrapper(); }
private void initializeLogging() { final File logDirectory = new File(JiveGlobals.getHomeDirectory(), "logs"); System.setProperty("thinkparity.log4j.file", new File(logDirectory, "desdemona.log").getAbsolutePath()); logger = new Log4JWrapper(); }
1,115,178
private void reloadJList() { final List<TeamMember> teamMembers; final List<Contact> contacts; final Map<User, ArtifactReceipt> versionUsers; final User publisher; Boolean firstContact; if (getPublishTypeSpecific() == PublishTypeSpecific.PUBLISH_NOT_FIRST_TIME) { ...
private void reloadJList() { final List<TeamMember> teamMembers; final List<Contact> contacts; final Map<User, ArtifactReceipt> versionUsers; final User publisher; Boolean firstContact; if (getPublishTypeSpecific() == PublishTypeSpecific.PUBLISH_NOT_FIRST_TIME) { ...
1,115,179
public void init( ExtendedProperties configuration) { rsvc.info("WebappLoader : initialization starting."); Object o = rsvc.getApplicationAttribute( "org.apache.velocity.tools.view.servlet.WebappLoader" ); if ( o instanceof WebappLoaderAppContext) { servletContext = ( (Weba...
public void init( ExtendedProperties configuration) { rsvc.info("WebappLoader : initialization starting."); Object obj = rsvc.getApplicationAttribute(VelocityViewServlet.SERVLET_CONTEXT_KEY); if ( o instanceof WebappLoaderAppContext) { servletContext = ( (WebappLoaderAppCon...
1,115,180
public void init( ExtendedProperties configuration) { rsvc.info("WebappLoader : initialization starting."); Object o = rsvc.getApplicationAttribute( "org.apache.velocity.tools.view.servlet.WebappLoader" ); if ( o instanceof WebappLoaderAppContext) { servletContext = ( (Weba...
public void init( ExtendedProperties configuration) { rsvc.info("WebappLoader : initialization starting."); Object o = rsvc.getApplicationAttribute( "org.apache.velocity.tools.view.servlet.WebappLoader" ); if (obj instanceof ServletContext) { servletContext = ( (WebappLoade...
1,115,181
public void init( ExtendedProperties configuration) { rsvc.info("WebappLoader : initialization starting."); Object o = rsvc.getApplicationAttribute( "org.apache.velocity.tools.view.servlet.WebappLoader" ); if ( o instanceof WebappLoaderAppContext) { servletContext = ( (Weba...
public void init( ExtendedProperties configuration) { rsvc.info("WebappLoader : initialization starting."); Object o = rsvc.getApplicationAttribute( "org.apache.velocity.tools.view.servlet.WebappLoader" ); if ( o instanceof WebappLoaderAppContext) { servletContext = (Servle...
1,115,182
public Applet(String moduleName) { super(moduleName); // TODO Auto-generated constructor stub }
public Applet(String moduleName) { super(moduleName); // TODO Auto-generated constructor stub }
1,115,183
public void setUtcTimeOnly(int field, Date value) { setUtcTimeOnly(field, value, false); }
public void setUtcTimeOnly(int field, Date value) throws NoTagValue { setUtcTimeOnly(field, value, false); }
1,115,184
public UtilDateTypeConverterImpl(ValueFactory factory) { super(factory); }
public UtilDateTypeConverterImpl(ValueFactory factory) { super(factory); }
1,115,185
public void testExternalDocument() { ExternalDocument externalDocument = new ExternalDocument(); externalDocument.setId(Long.MAX_VALUE); externalDocument.setId(Long.MIN_VALUE); externalDocument.setEntity(new Entity()); externalDocument.setDocCode(""); externalDocument.setDocName(""); externalDocument.setDocUrl(...
public void testExternalDocument() { ExternalDocument externalDocument = new ExternalDocument(); externalDocument.setId(Long.MAX_VALUE); externalDocument.setId(Long.MIN_VALUE); externalDocument.setEntity(new Entity()); externalDocument.setDocCode(""); externalDocument.setDocName(""); externalDocument.setDocUrl(...
1,115,187
protected final Map createEnvVarMap() { Map env = new HashMap(); buildEnvVars(env); return env; }
protected final Map createEnvVarMap(boolean overrideOnly) { Map env = new HashMap(); buildEnvVars(env); return env; }
1,115,190
protected final boolean run(Launcher launcher, String cmd, TaskListener listener, FilePath dir, OutputStream out) throws IOException { Map env = createEnvVarMap(); int r = launcher.launch(cmd,env,out,dir).join(); if(r!=0) listener.fatalError(getDescriptor().getDisplayName()+" failed"...
protected final boolean run(Launcher launcher, String cmd, TaskListener listener, FilePath dir, OutputStream out) throws IOException { Map env = createEnvVarMap(true); int r = launcher.launch(cmd,env,out,dir).join(); if(r!=0) listener.fatalError(getDescriptor().getDisplayName()+" fai...
1,115,192
public Job doCreateJob(StaplerRequest req, StaplerResponse rsp) throws IOException { if(!Hudson.adminCheck(req,rsp)) return null; Job job = owner.doCreateJob(req, rsp); if(job!=null) { jobNames.add(job.getName()); owner.save(); } return job; }
public Job doCreateJob(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException { if(!Hudson.adminCheck(req,rsp)) return null; Job job = owner.doCreateJob(req, rsp); if(job!=null) { jobNames.add(job.getName()); owner.save(); } ...
1,115,194
public abstract RecipeDetailsView getRecipeDetailsView();
public abstract RecipeDetailsView getRecipeDetailsView(String title);
1,115,195
public void validatePrincipal(Credential credential, Errors errors) { if (logger.isDebugEnabled()) { logger.debug("Validating Credential principal"); } String principal = credential.getPrincipal(); if (principal != null && principal.length() > 0) { errors.rejectValu...
public void validatePrincipal(Credential credential, Errors errors) { if (logger.isDebugEnabled()) { logger.debug("Validating Credential principal"); } String principal = credential.getPrincipal(); if (principal == null || principal.length() == 0) { errors.rejectVal...
1,115,197
public void validatePrincipal(Credential credential, Errors errors) { if (logger.isDebugEnabled()) { logger.debug("Validating Credential principal"); } String principal = credential.getPrincipal(); if (principal != null && principal.length() > 0) { errors.rejectValu...
public void validatePrincipal(Credential credential, Errors errors) { if (logger.isDebugEnabled()) { logger.debug("Validating Credential principal"); } String principal = credential.getPrincipal(); if (principal != null && principal.length() > 0) { errors.rejectValu...
1,115,198
public void validatePrincipal(Credential credential, Errors errors) { if (logger.isDebugEnabled()) { logger.debug("Validating Credential principal"); } String principal = credential.getPrincipal(); if (principal != null && principal.length() > 0) { errors.rejectValu...
public void validatePrincipal(Credential credential, Errors errors) { if (logger.isDebugEnabled()) { logger.debug("Validating Credential principal"); } String principal = credential.getPrincipal(); if (principal != null && principal.length() > 0) { errors.rejectValu...
1,115,199
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { r...
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { r...
1,115,200
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { r...
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { r...
1,115,201
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { r...
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { r...
1,115,202
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { r...
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { r...
1,115,203
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { r...
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { }...
1,115,204
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { r...
public synchronized void next() throws IOException { if (!enabled) { if (isLoggedOn()) { if (!state.isLogoutSent()) { state.logEvent("Initiated logout request"); generateLogout(logoutReason); } } else { r...
1,115,205
public String getString(String name, String defaultValue) { String result = getString(name); return (result == null) ? defaultValue : result; }
public String getString(String name, String defaultValue) { String result = getString(name); return (result == null) ? defaultValue : result; }
1,115,206
public MatrixValueI evaluate(MatrixNodeI node,MatrixJep mjep) throws ParseException { this.mjep=mjep; return (MatrixValueI) node.jjtAccept(this,null); }
public MatrixValueI evaluate(MatrixNodeI node,MatrixJep mj) throws ParseException { this.mjep=mjep; return (MatrixValueI) node.jjtAccept(this,null); }
1,115,207
public MatrixValueI evaluate(MatrixNodeI node,MatrixJep mjep) throws ParseException { this.mjep=mjep; return (MatrixValueI) node.jjtAccept(this,null); }
public MatrixValueI evaluate(MatrixNodeI node,MatrixJep mjep) throws ParseException { this.mjep=mj; return (MatrixValueI) node.jjtAccept(this,null); }
1,115,208
public void formatValue(Object val,StringBuffer sb) { if(format != null) { if(val instanceof Number) format.format(val,sb,fp); else if(val instanceof Complex) { if((mode | COMPLEX_I) == COMPLEX_I) sb.append(((Complex) val).toString(format,true)); else sb.append(((Complex) val).toString(format)); } e...
public void formatValue(Object val,StringBuffer sb1) { if(format != null) { if(val instanceof Number) format.format(val,sb,fp); else if(val instanceof Complex) { if((mode | COMPLEX_I) == COMPLEX_I) sb.append(((Complex) val).toString(format,true)); else sb.append(((Complex) val).toString(format)); } ...
1,115,209
public void formatValue(Object val,StringBuffer sb) { if(format != null) { if(val instanceof Number) format.format(val,sb,fp); else if(val instanceof Complex) { if((mode | COMPLEX_I) == COMPLEX_I) sb.append(((Complex) val).toString(format,true)); else sb.append(((Complex) val).toString(format)); } e...
public void formatValue(Object val,StringBuffer sb) { if(format != null) { if(val instanceof Number) format.format(val,sb1,fp); else if(val instanceof Complex) { if((mode | COMPLEX_I) == COMPLEX_I) sb.append(((Complex) val).toString(format,true)); else sb.append(((Complex) val).toString(format)); } ...
1,115,210
public void formatValue(Object val,StringBuffer sb) { if(format != null) { if(val instanceof Number) format.format(val,sb,fp); else if(val instanceof Complex) { if((mode | COMPLEX_I) == COMPLEX_I) sb.append(((Complex) val).toString(format,true)); else sb.append(((Complex) val).toString(format)); } e...
public void formatValue(Object val,StringBuffer sb) { if(format != null) { if(val instanceof Number) format.format(val,sb,fp); else if(val instanceof Complex) { if((mode | COMPLEX_I) == COMPLEX_I) sb1.append(((Complex) val).toString(format,true)); else sb.append(((Complex) val).toString(format)); } ...
1,115,211
public void formatValue(Object val,StringBuffer sb) { if(format != null) { if(val instanceof Number) format.format(val,sb,fp); else if(val instanceof Complex) { if((mode | COMPLEX_I) == COMPLEX_I) sb.append(((Complex) val).toString(format,true)); else sb.append(((Complex) val).toString(format)); } e...
public void formatValue(Object val,StringBuffer sb) { if(format != null) { if(val instanceof Number) format.format(val,sb,fp); else if(val instanceof Complex) { if((mode | COMPLEX_I) == COMPLEX_I) sb.append(((Complex) val).toString(format,true)); else sb1.append(((Complex) val).toString(format)); } ...
1,115,212
public void formatValue(Object val,StringBuffer sb) { if(format != null) { if(val instanceof Number) format.format(val,sb,fp); else if(val instanceof Complex) { if((mode | COMPLEX_I) == COMPLEX_I) sb.append(((Complex) val).toString(format,true)); else sb.append(((Complex) val).toString(format)); } e...
public void formatValue(Object val,StringBuffer sb) { if(format != null) { if(val instanceof Number) format.format(val,sb,fp); else if(val instanceof Complex) { if((mode | COMPLEX_I) == COMPLEX_I) sb.append(((Complex) val).toString(format,true)); else sb.append(((Complex) val).toString(format)); } e...
1,115,213
private boolean testRight(XOperator top,Node rhs){ if((mode & FULL_BRACKET)!= 0) { return true; } else if(rhs instanceof ASTFunNode && ((ASTFunNode) rhs).isOperator()) { XOperator rhsop = (XOperator) ((ASTFunNode) rhs).getOperator(); if(top == rhsop) { if(top.getBinding() == XOperator.RIGHT // 1=(2=3) -> 1=2=3 ...
private boolean testRight(XOperator top,Node rhs){ if((mode & FULL_BRACKET)!= 0) { return true; } else if(rhs instanceof ASTFunNode && ((ASTFunNode) rhs).isOperator()) { XOperator rhsop = (XOperator) ((ASTFunNode) rhs).getOperator(); if(top == rhsop) { if(top.getBinding() == XOperator.RIGHT // 1=(2=3) -> 1=2=3 ...
1,115,214
public void run(Stack stack) throws ParseException { checkStack(stack); // check the stack Object param1,param2; // get the parameter from the stack param2 = stack.pop(); param1 = stack.pop(); if(param1 instanceof MVector) { if(param2 instanceof Double) { Object val = ((MVector)...
public void run(Stack stack) throws ParseException { checkStack(stack); // check the stack Object param1,param2; // get the parameter from the stack param2 = stack.pop(); param1 = stack.pop(); if(param1 instanceof MVector) { if(param2 instanceof Double) { Object val = ((MVector)...
1,115,215
public Object getEle(int i,int j) { return data[i][j]; }
public Object getEle(int n) { return data[i][j]; }
1,115,216
public void doBuildStatus( StaplerRequest req, StaplerResponse rsp ) throws IOException { // see Hudson.doNocacheImages. this is a work around for a bug in Firefox rsp.sendRedirect(req.getContextPath()+"/nocacheImages/48x48/"+getBuildStatusUrl()); }
public void doBuildStatus( StaplerRequest req, StaplerResponse rsp ) throws IOException { // see Hudson.doNocacheImages. this is a work around for a bug in Firefox rsp.sendRedirect2(req.getContextPath()+"/nocacheImages/48x48/"+getBuildStatusUrl()); }
1,115,218
protected final void serveFile(StaplerRequest req, StaplerResponse rsp, File root, String icon, boolean serveDirIndex) throws IOException, ServletException { if(req.getQueryString()!=null) { req.setCharacterEncoding("UTF-8"); String path = req.getParameter("path"); if(path!=n...
protected final void serveFile(StaplerRequest req, StaplerResponse rsp, File root, String icon, boolean serveDirIndex) throws IOException, ServletException { if(req.getQueryString()!=null) { req.setCharacterEncoding("UTF-8"); String path = req.getParameter("path"); if(path!=n...
1,115,219
public static void doStuff(String str) { try { Node node = j.parse(str); Node proc = j.preprocess(node); Node simp = j.simplify(proc); MRpEval rpe = new MRpEval(j); MRpCommandList list = rpe.compile(simp); MRpRes res = rpe.evaluate(list); j.print(node); // conversion to String System.out.println(...
public static void doStuff(String str) { try { Node node = j.parse(str); Node proc = j.preprocess(node); Node simp = j.simplify(proc); MRpEval rpe = new MRpEval(j); MRpCommandList list = rpe.compile(simp); MRpRes res = rpe.evaluate(list); j.print(node); // conversion to String System.out.println(...
1,115,220
public static void doStuff(String str) { try { Node node = j.parse(str); Node proc = j.preprocess(node); Node simp = j.simplify(proc); MRpEval rpe = new MRpEval(j); MRpCommandList list = rpe.compile(simp); MRpRes res = rpe.evaluate(list); j.print(node); // conversion to String System.out.println(...
public static void doStuff(String str) { try { Node node = j.parse(str); Node proc = j.preprocess(node); Node simp = j.simplify(proc); MRpCommandList list = rpe.compile(simp); MRpRes res = rpe.evaluate(list); j.print(node); // conversion to String System.out.println("\nres " + res.toString()); ...
1,115,221
public static void doStuff(String str) { try { Node node = j.parse(str); Node proc = j.preprocess(node); Node simp = j.simplify(proc); MRpEval rpe = new MRpEval(j); MRpCommandList list = rpe.compile(simp); MRpRes res = rpe.evaluate(list); j.print(node); // conversion to String System.out.println(...
public static void doStuff(String str) { try { Node node = j.parse(str); Node proc = j.preprocess(node); Node simp = j.simplify(proc); MRpEval rpe = new MRpEval(j); MRpCommandList list = rpe.compile(simp); MRpRes res = rpe.evaluate(list); mj.print(node); // conversion to String System.out.println...
1,115,222
public static void main(String args[]) { j = new MatrixJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setImplicitMul(true); j.setAllowAssignment(true); // parse and evaluate each equation in turn doStuff("[1,2,3]"); // Value: [1.0,2.0,3...
public static void main(String args[]) { j = new MatrixJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setImplicitMul(true); j.setAllowAssignment(true); // parse and evaluate each equation in turn doStuff("[1,2,3]"); // Value: [1.0,2.0,3...
1,115,223
public final MRpCommandList compile(Node node) throws ParseException { curCommandList = new MRpCommandList(); node.jjtAccept(this,null); scalerStore.alloc(); v2Store.alloc(); v3Store.alloc(); v4Store.alloc(); vnStore.alloc(); m22Store.alloc(); m23Store.alloc(); m24Store.alloc(); m32Store.alloc(); m33Store....
public final MRpCommandList compile(MatrixVariableI var,Node node) throws ParseException { curCommandList = new MRpCommandList(); node.jjtAccept(this,null); scalerStore.alloc(); v2Store.alloc(); v3Store.alloc(); v4Store.alloc(); vnStore.alloc(); m22Store.alloc(); m23Store.alloc(); m24Store.alloc(); m32Store...
1,115,225
public final MRpCommandList compile(Node node) throws ParseException { curCommandList = new MRpCommandList(); node.jjtAccept(this,null); scalerStore.alloc(); v2Store.alloc(); v3Store.alloc(); v4Store.alloc(); vnStore.alloc(); m22Store.alloc(); m23Store.alloc(); m24Store.alloc(); m32Store.alloc(); m33Store....
public final MRpCommandList compile(Node node) throws ParseException { curCommandList = new MRpCommandList(); node.jjtAccept(this,null); scalerStore.alloc(); v2Store.alloc(); v3Store.alloc(); v4Store.alloc(); vnStore.alloc(); m22Store.alloc(); m23Store.alloc(); m24Store.alloc(); m32Store.alloc(); m33Store....
1,115,226
public MatrixJep() { super(); nf = new MatrixNodeFactory(); symTab = new DSymbolTable(mvf); opSet = new MatrixOperatorSet(); /* Operator.OP_ADD.setPFMC(new MAdd()); Operator.OP_SUBTRACT.setPFMC(new MSubtract()); Operator.OP_MULTIPLY.setPFMC(new MMultiply()); Operator.OP_POWER.setPFMC(new MPower()); Operator....
public MatrixJep() { super(); nf = new MatrixNodeFactory(); symTab = new DSymbolTable(mvf); opSet = new MatrixOperatorSet(); /* Operator.OP_ADD.setPFMC(new MAdd()); Operator.OP_SUBTRACT.setPFMC(new MSubtract()); Operator.OP_MULTIPLY.setPFMC(new MMultiply()); Operator.OP_POWER.setPFMC(new MPower()); Operator....
1,115,227
public MatrixJep() { super(); nf = new MatrixNodeFactory(); symTab = new DSymbolTable(mvf); opSet = new MatrixOperatorSet(); /* Operator.OP_ADD.setPFMC(new MAdd()); Operator.OP_SUBTRACT.setPFMC(new MSubtract()); Operator.OP_MULTIPLY.setPFMC(new MMultiply()); Operator.OP_POWER.setPFMC(new MPower()); Operator....
public MatrixJep() { super(); nf = new MatrixNodeFactory(); symTab = new DSymbolTable(mvf); opSet = new MatrixOperatorSet(); /* Operator.OP_ADD.setPFMC(new MAdd()); Operator.OP_SUBTRACT.setPFMC(new MSubtract()); Operator.OP_MULTIPLY.setPFMC(new MMultiply()); Operator.OP_POWER.setPFMC(new MPower()); Operator....
1,115,228
public Fermentable(){ // default constructor setName(""); pppg = 0; lov = 0; setAmount(1.0); setUnits("pounds"); mashed = true; // I want to get options working sometime, // but can't figure out how: // myOptions.getProperty("optMaltUnits"); }
public Fermentable(){ // default constructor setName(""); pppg = 0; lov = 0; setAmount(1.0); setUnits("pounds"); mashed = true; // I want to get options working sometime, // but can't figure out how: // myOptions.getProperty("optMaltUnits"); }
1,115,234
public Partner(Entity entity, String alias, char state, boolean strong) { this.entity = entity; this.alias = alias; this.state = state; this.strong = strong; }
public Partner(Entity entity, String alias, char state, boolean strong) { this.entity = entity; this.alias = alias; this.state = state; this.strong = strong; }
1,115,235
public void addSeismogram(DataSetSeismogram seis){ ampConfig.addSeismogram(seis); seismograms.put(seis, ampConfig.getAmpRange(seis)); }
public void addSeismogram(DataSetSeismogram seis){ ampConfig.addSeismogram(seis); }
1,115,236
public void removeSeismogram(DataSetSeismogram seis){ ampConfig.removeSeismogram(seis); seismograms.remove(seis); }
public void removeSeismogram(DataSetSeismogram seis){ ampConfig.removeSeismogram(seis); }
1,115,237
public void testUserRole() { UserRole userRole = new UserRole(); userRole.setId(Long.MAX_VALUE); userRole.setId(Long.MIN_VALUE); userRole.setUser(new User()); userRole.setService(new Service()); userRole.setServiceExtension(""); }
public void testUserRole() { UserRole userRole = new UserRole(); userRole.setId(Long.MAX_VALUE); userRole.setId(Long.MIN_VALUE); userRole.setUserGroup(new UserGroup()); userRole.setUserGroup(new User()); userRole.setService(new Service()); userRole.s...
1,115,239
public void testUserRoleEquals() { UserRole copy, userRole = new UserRole(); userRole.setUser(new User()); userRole.setService(new Service()); copy = (UserRole) DomainTestSupport.minimalEqualsTest(userRole); copy.setUser(userRole.getUser()); assertFalse(userRole.equals(copy...
public void testUserRoleEquals() { UserRole copy, userRole = new UserRole(); userRole.setUserGroup(new UserGroup()); userRole.setService(new Service()); copy = (UserRole) DomainTestSupport.minimalEqualsTest(userRole); copy.setUser(userRole.getUser()); assertFalse(userRole.e...
1,115,240
public void testUserRoleEquals() { UserRole copy, userRole = new UserRole(); userRole.setUser(new User()); userRole.setService(new Service()); copy = (UserRole) DomainTestSupport.minimalEqualsTest(userRole); copy.setUser(userRole.getUser()); assertFalse(userRole.equals(copy...
public void testUserRoleEquals() { UserRole copy, userRole = new UserRole(); userRole.setUser(new User()); userRole.setService(new Service()); copy = (UserRole) DomainTestSupport.minimalEqualsTest(userRole); copy.setUserGroup(userRole.getUserGroup()); assertFalse(userRole.e...
1,115,241
public void testUserRoleEquals() { UserRole copy, userRole = new UserRole(); userRole.setUser(new User()); userRole.setService(new Service()); copy = (UserRole) DomainTestSupport.minimalEqualsTest(userRole); copy.setUser(userRole.getUser()); assertFalse(userRole.equals(copy...
public void testUserRoleEquals() { UserRole copy, userRole = new UserRole(); userRole.setUser(new User()); userRole.setService(new Service()); copy = (UserRole) DomainTestSupport.minimalEqualsTest(userRole); copy.setUser(userRole.getUser()); assertFalse(userRole.equals(copy...
1,115,242