Hi Folks, hopefully this question is appropriate for the dev list.
I have been benchmarking EqualsBuilder and run into what must be a common
gotcha.
The docs for EqualsBuilder suggests that one construct the equals method:-
@Override
public boolean equals(Object obj) {
if (ob
and a support
function which could go into IOUtils)
Cheers
Peter Henderson.
/*
* ZipUtils.java
*
* Created on 22-Jul-2008
*/
package org.apache.commons.io;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputS
.addArgument("tomcat");
userAddCL.addArgument(username);
After
CommandLine userAddCL = new CommandLine("useradd");
userAddCL.addArgument("-g", "tomcat");
userAddCL.addArgument(username);
Peter Henderson.