issue#20 removed excessives parenthesis
This commit is contained in:
parent
598ba9ade1
commit
c01468afd4
@ -78,15 +78,15 @@ public class SibaManager
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
if ((fileToSave == null) || !(fileToSave.exists()))
|
if ((fileToSave == null) || !fileToSave.exists())
|
||||||
{
|
{
|
||||||
throw new SibaException(BUNDLE.getString("sourceNotExist.text"));
|
throw new SibaException(BUNDLE.getString("sourceNotExist.text"));
|
||||||
}
|
}
|
||||||
else if (!(fileToSave.isDirectory()))
|
else if (!fileToSave.isDirectory())
|
||||||
{
|
{
|
||||||
throw new SibaException(BUNDLE.getString("NotDirectorySource.text"));
|
throw new SibaException(BUNDLE.getString("NotDirectorySource.text"));
|
||||||
}
|
}
|
||||||
else if (!(target.isDirectory()))
|
else if (!target.isDirectory())
|
||||||
{
|
{
|
||||||
throw new SibaException(BUNDLE.getString("NotDirectoryTarget.text"));
|
throw new SibaException(BUNDLE.getString("NotDirectoryTarget.text"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user