File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
main/java/org/apache/ibatis/builder/xml
test/java/org/apache/ibatis/builder Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2009-2017 the original author or authors.
2
+ * Copyright 2009-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -117,7 +117,7 @@ private void configurationElement(XNode context) {
117
117
sqlElement (context .evalNodes ("/mapper/sql" ));
118
118
buildStatementFromContext (context .evalNodes ("select|insert|update|delete" ));
119
119
} catch (Exception e ) {
120
- throw new BuilderException ("Error parsing Mapper XML.The XML location is " + resource + " Cause: " + e , e );
120
+ throw new BuilderException ("Error parsing Mapper XML. The XML location is ' " + resource + "'. Cause: " + e , e );
121
121
}
122
122
}
123
123
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
3
4
- Copyright 2010-2016 the original author or authors.
4
+ Copyright 2009-2018 the original author or authors.
5
5
6
6
Licensed under the Apache License, Version 2.0 (the "License");
7
7
you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2009-2017 the original author or authors.
2
+ * Copyright 2009-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -175,7 +175,7 @@ public void useCacheRefNamespaceIsUndefined() {
175
175
@ Test
176
176
public void shouldFailedLoadXMLMapperFile () throws Exception {
177
177
expectedEx .expect (BuilderException .class );
178
- expectedEx .expectMessage ("Error parsing Mapper XML.The XML location is org/apache/ibatis/builder/ProblemMapper.xml" );
178
+ expectedEx .expectMessage ("Error parsing Mapper XML. The XML location is ' org/apache/ibatis/builder/ProblemMapper.xml' " );
179
179
Configuration configuration = new Configuration ();
180
180
String resource = "org/apache/ibatis/builder/ProblemMapper.xml" ;
181
181
InputStream inputStream = Resources .getResourceAsStream (resource );
You can’t perform that action at this time.
0 commit comments