java/code/src/com/redhat/rhn/domain/channel/Channel.java | 1 + java/code/src/com/redhat/rhn/domain/task/TaskFactory.java | 10 +++++----- java/code/src/com/redhat/rhn/taskomatic/task/RepoSyncTask.java | 5 ++--- 3 files changed, 8 insertions(+), 8 deletions(-)
New commits: commit d9321c436afdf239f19d8df66d447217806496ba Author: Justin Sherrill jsherril@redhat.com Date: Fri Jul 31 14:57:42 2009 -0400
check style fixes
diff --git a/java/code/src/com/redhat/rhn/domain/channel/Channel.java b/java/code/src/com/redhat/rhn/domain/channel/Channel.java index e61da3f..65b411d 100644 --- a/java/code/src/com/redhat/rhn/domain/channel/Channel.java +++ b/java/code/src/com/redhat/rhn/domain/channel/Channel.java @@ -818,6 +818,7 @@ public class Channel extends BaseDomainHelper implements Comparable { * Set the yum content source, if one is already set, it will be replaced * if null or '' is passed in, all content sources will be removed. * @param url the url of the yum repo + * @param labelIn the label of the content source */ public void setYumContentSource(String url, String labelIn) { if (StringUtils.isEmpty(url)) { diff --git a/java/code/src/com/redhat/rhn/domain/task/TaskFactory.java b/java/code/src/com/redhat/rhn/domain/task/TaskFactory.java index aa75626..af74c20 100644 --- a/java/code/src/com/redhat/rhn/domain/task/TaskFactory.java +++ b/java/code/src/com/redhat/rhn/domain/task/TaskFactory.java @@ -68,9 +68,9 @@ public class TaskFactory extends HibernateFactory { }
/** - * - * @param name - * @return + * list All tasks with the given name + * @param name the name of the task + * @return List of tasks */ public static List<Task> listTasks(String name) { Session session = null; @@ -86,8 +86,8 @@ public class TaskFactory extends HibernateFactory { }
/** - * - * @param task + * Remove a task from teh database + * @param task the task to remove */ public static void removeTask(Task task) { TaskFactory.getSession().delete(task); diff --git a/java/code/src/com/redhat/rhn/taskomatic/task/RepoSyncTask.java b/java/code/src/com/redhat/rhn/taskomatic/task/RepoSyncTask.java index 40a4c2c..f26278b 100644 --- a/java/code/src/com/redhat/rhn/taskomatic/task/RepoSyncTask.java +++ b/java/code/src/com/redhat/rhn/taskomatic/task/RepoSyncTask.java @@ -27,7 +27,6 @@ import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException;
import java.io.IOException; -import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Date; import java.util.List; @@ -66,8 +65,8 @@ public class RepoSyncTask implements Job { for (Task task : TaskFactory.listTasks(DISPLAY_NAME)) { ContentSource src = ChannelFactory.lookupContentSource(task.getData()); if (log.isInfoEnabled()) { - log.info("Syncing repo " + src.getSourceUrl() + " to channel " - + src.getChannel().getLabel()); + log.info("Syncing repo " + src.getSourceUrl() + " to channel " + + src.getChannel().getLabel()); } if (src == null) { log.error("Content Source could not be found: " + task.getData());
spacewalk-commits@lists.fedorahosted.org