Skip to content

Commit 7a5b1ef

Browse files
author
Vincent Potucek
committed
fix spelling leveraging Oxford comma
1 parent 6019307 commit 7a5b1ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultModelXmlFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public void write(XmlWriterRequest<Model> request) throws XmlWriterException {
121121
Writer writer = request.getWriter();
122122
Function<Object, String> inputLocationFormatter = request.getInputLocationFormatter();
123123
if (writer == null && outputStream == null && path == null) {
124-
throw new IllegalArgumentException("writer, outputStream or path must be non null");
124+
throw new IllegalArgumentException("writer, output stream, or path must be non-null");
125125
}
126126
try {
127127
MavenStaxWriter w = new MavenStaxWriter();

impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultPluginXmlFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void write(XmlWriterRequest<PluginDescriptor> request) throws XmlWriterEx
8484
OutputStream outputStream = request.getOutputStream();
8585
Writer writer = request.getWriter();
8686
if (writer == null && outputStream == null && path == null) {
87-
throw new IllegalArgumentException("writer, outputStream or path must be non null");
87+
throw new IllegalArgumentException("writer, output stream, or path must be non-null");
8888
}
8989
try {
9090
if (writer != null) {

0 commit comments

Comments
 (0)