buildframework/helium/sf/java/scm/src/com/nokia/helium/scm/ant/actions/TagAction.java
changeset 628 7c4a911dc066
parent 588 c7c26511138f
--- a/buildframework/helium/sf/java/scm/src/com/nokia/helium/scm/ant/actions/TagAction.java	Wed Jun 16 16:51:40 2010 +0300
+++ b/buildframework/helium/sf/java/scm/src/com/nokia/helium/scm/ant/actions/TagAction.java	Fri Aug 13 14:59:05 2010 +0300
@@ -68,11 +68,13 @@
     public void execute(ScmRepository repository) throws ScmException {
         TagScmResult result;
 
-        if (name == null)
+        if (name == null) {
             throw new BuildException("'name' attribute is not defined.");
+        }
 
-        if (getBasedir() == null)
+        if (getBasedir() == null) {
             throw new BuildException("'basedir' attribute is not defined.");
+        }
 
         try {
             ExtendedScmManager scmManager = (ExtendedScmManager) getTask()