mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
i18n and grammar fix for one polling msg
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28404 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
2488995d83
commit
e1d265bbdb
2 files changed
+5
-5
No files matched your search
@@ -1094,7 +1094,7 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
|
||||
|
||||
R lb = getLastBuild();
|
||||
if (lb==null) {
|
||||
listener.getLogger().println("No builds have done yet. Scheduling a new one");
|
||||
listener.getLogger().println(Messages.AbstractProject_NoBuilds());
|
||||
return BUILD_NOW;
|
||||
}
|
||||
|
||||
@@ -1509,9 +1509,9 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
|
||||
JSONObject data = req.getSubmittedForm();
|
||||
List<T> r = new Vector<T>();
|
||||
for (Descriptor<T> d : descriptors) {
|
||||
String name = d.getJsonSafeClassName();
|
||||
if (req.getParameter(name) != null) {
|
||||
T instance = d.newInstance(req, data.getJSONObject(name));
|
||||
String safeName = d.getJsonSafeClassName();
|
||||
if (req.getParameter(safeName) != null) {
|
||||
T instance = d.newInstance(req, data.getJSONObject(safeName));
|
||||
r.add(instance);
|
||||
}
|
||||
}
|
||||
@@ -1685,4 +1685,3 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
|
||||
*/
|
||||
public static final Permission ABORT = BUILD;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user