Skip to content

Commit 9d007f6

Browse files
authored
Merge pull request #1951 from apache/master
sync master to release 113 branch for vc1
2 parents 017ddb7 + ff07b1c commit 9d007f6

File tree

7 files changed

+19
-15
lines changed

7 files changed

+19
-15
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,12 @@ matrix:
518518
- ant $BUILD_OPTS clean
519519
- ant $BUILD_OPTS build
520520
script:
521+
#- ant $TEST_OPTS -f groovy/groovy test
522+
#- ant $TEST_OPTS -f groovy/groovy.java test
521523
- ant $TEST_OPTS -f groovy/groovy.editor test
524+
- ant $TEST_OPTS -f groovy/groovy.gsp test
525+
#- ant $TEST_OPTS -f groovy/groovy.kit test
526+
- ant $TEST_OPTS -f groovy/groovy.support test
522527

523528
- name: Test php modules
524529
jdk: openjdk8

java/maven/src/org/netbeans/modules/maven/newproject/ChooseArchetypePanel.form

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
<Properties>
231231
<Property name="editable" type="boolean" value="false"/>
232232
<Property name="background" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
233-
<Connection code="(java.awt.Color)(UIManager.get(&quot;textArea.background&quot;)!=null?&#xa; UIManager.get(&quot;textArea.background&quot;):new java.awt.Color(238, 238, 238))" type="code"/>
233+
<Connection code="(java.awt.Color)(UIManager.get(&quot;TextArea.background&quot;)!=null?&#xa; UIManager.get(&quot;TextArea.background&quot;):new java.awt.Color(238, 238, 238))" type="code"/>
234234
</Property>
235235
<Property name="columns" type="int" value="20"/>
236236
<Property name="lineWrap" type="boolean" value="true"/>

java/maven/src/org/netbeans/modules/maven/newproject/ChooseArchetypePanel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
245245
org.openide.awt.Mnemonics.setLocalizedText(labelDesc, org.openide.util.NbBundle.getMessage(ChooseArchetypePanel.class, "LBL_Description")); // NOI18N
246246

247247
taDescription.setEditable(false);
248-
taDescription.setBackground((java.awt.Color)(UIManager.get("textArea.background")!=null?
249-
UIManager.get("textArea.background"):new java.awt.Color(238, 238, 238)));
248+
taDescription.setBackground((java.awt.Color)(UIManager.get("TextArea.background")!=null?
249+
UIManager.get("TextArea.background"):new java.awt.Color(238, 238, 238)));
250250
taDescription.setColumns(20);
251251
taDescription.setLineWrap(true);
252252
taDescription.setRows(5);

platform/api.annotations.common/apichanges.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ is the proper place.
9090
<compatibility addition="yes"/>
9191
<description>
9292
<p>
93-
Introduced justificatio attribute to specify why it is ok to
93+
Introduced justification attribute to specify why it is ok to
9494
suppress a warning.
9595
</p>
9696
</description>

platform/api.annotations.common/arch.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<api group="java" name="CommonAnnotationsAPI" type="export" category="stable" url="@TOP@org/netbeans/api/annotations/common/package-summary.html"/>
5454
that contains annotations usable across the IDE sources. One such type
5555
of annotations can guard (together with <a href="http://findbugs.sourceforge.net">FindBugs</a>)
56-
your code against <code>null</code> related defect.
56+
your code against <code>null</code> related defects.
5757
</p>
5858
<p>
5959
In case your module is using <code>projectized.xml</code> you can simply run
@@ -126,14 +126,14 @@
126126
When the method return value is important value to check (or the only effect
127127
the method has) the method can be annotated with
128128
<a href="@TOP@org/netbeans/api/annotations/common/CheckReturnValue.html">CheckReturnValue</a>.
129-
Annotation servers as documentation as well as a hint for static code analysis.
129+
Annotation serves as documentation as well as a hint for static code analysis.
130130
</p>
131131
</usecase>
132132
<usecase id="check-for-null" name="CheckForNull annotated method">
133133
<p>
134134
Method annotated with
135135
<a href="@TOP@org/netbeans/api/annotations/common/CheckForNull.html">CheckForNull</a>
136-
may return <code>null</code> value. Annotation servers as documentation
136+
may return <code>null</code> value. Annotation serves as documentation
137137
as well as a hint for static code analysis.
138138
</p>
139139
</usecase>
@@ -142,7 +142,7 @@
142142
When the field, parameter, local variable or return value of the method
143143
must not be <code>null</code> the
144144
<a href="@TOP@org/netbeans/api/annotations/common/NonNull.html">NonNull</a>
145-
annotation can be used to clearly express this. It servers as documentation
145+
annotation can be used to clearly express this. It serves as documentation
146146
as well as a hint for static code analysis.
147147
</p>
148148
</usecase>
@@ -151,15 +151,15 @@
151151
Field, parameter or local variable annotated with
152152
<a href="@TOP@org/netbeans/api/annotations/common/NullAllowed.html">NullAllowed</a>
153153
can contain <code>null</code> value so <code>null</code> check should
154-
occur before any dereference. Annotation servers as documentation
154+
occur before any dereference. Annotation serves as documentation
155155
as well as a hint for static code analysis.
156156
</p>
157157
</usecase>
158158
<usecase id="null-unknown" name="NullUnknown annotated element">
159159
<p>
160160
Annotation
161161
<a href="@TOP@org/netbeans/api/annotations/common/NullUnknown.html">NullUnknown</a>
162-
complementing other nullness annotations servers for cases where
162+
complementing other nullness annotations serves for cases where
163163
the element may or may not be <code>null</code> under certain
164164
<i>defined</i> circumstances (usage).
165165
</p>

platform/api.annotations.common/src/org/netbeans/api/annotations/common/SuppressWarnings.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import java.lang.annotation.Target;
2626

2727
/**
28-
* Supress the warning reported by the code analyzing tool.
28+
* Suppress the warning reported by the code analyzing tool.
2929
*
3030
* @author Petr Hejl
3131
*/
@@ -40,7 +40,7 @@
4040
String[] value() default {};
4141

4242
/**
43-
* The justification for the suppression. Should be human readable
43+
* The justification for the suppression. Should be a human readable
4444
* description explaining why it is ok to suppress the message(s).
4545
*
4646
* @return the justification for the suppression

platform/api.annotations.common/src/org/netbeans/api/annotations/common/package-info.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@
1818
*/
1919

2020
/**
21-
* The API containg common annotations (namely for defect detection)
21+
* The API containing common annotations (namely for defect detection)
2222
* to be used across the IDE sources.
2323
* <p>
2424
* Annotations are respected (and so annotated elements may be checked)
25-
* by FindBugs tool.
25+
* by the FindBugs tool.
2626
*/
2727
package org.netbeans.api.annotations.common;
28-

0 commit comments

Comments
 (0)