Changeset 5456
- Timestamp:
- Mar 17, 2020, 1:50:16 PM (12 months ago)
- Location:
- jomc-ri/branches/jomc-ri-1.x
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
jomc-ri/branches/jomc-ri-1.x
- Property svn:mergeinfo changed
/jomc-ri/trunk merged: 5455
- Property svn:mergeinfo changed
-
jomc-ri/branches/jomc-ri-1.x/pom.xml
r5414 r5456 35 35 <groupId>org.jomc</groupId> 36 36 <artifactId>jomc-pom</artifactId> 37 <version>1. 6</version>37 <version>1.7.0-SNAPSHOT</version> 38 38 </parent> 39 39 <modelVersion>4.0.0</modelVersion> … … 66 66 <groupId>org.jomc</groupId> 67 67 <artifactId>maven-jomc-plugin</artifactId> 68 <version>1.1 0.1</version>68 <version>1.11.0-SNAPSHOT</version> 69 69 <executions> 70 70 <execution> … … 156 156 <groupId>org.jomc</groupId> 157 157 <artifactId>jomc-util</artifactId> 158 <version>1.1 0</version>158 <version>1.11.0-SNAPSHOT</version> 159 159 <scope>compile</scope> 160 160 </dependency> … … 162 162 <groupId>org.jomc</groupId> 163 163 <artifactId>jomc-modlet</artifactId> 164 <version>1.1 0.1</version>164 <version>1.11.0-SNAPSHOT</version> 165 165 <scope>compile</scope> 166 166 </dependency> … … 168 168 <groupId>org.jomc</groupId> 169 169 <artifactId>jomc-model</artifactId> 170 <version>1.1 0.1</version>170 <version>1.11.0-SNAPSHOT</version> 171 171 <scope>compile</scope> 172 172 </dependency> … … 174 174 <groupId>org.jomc</groupId> 175 175 <artifactId>jomc-api</artifactId> 176 <version>1.1 0</version>176 <version>1.11.0-SNAPSHOT</version> 177 177 <scope>compile</scope> 178 178 </dependency> … … 180 180 <groupId>org.jomc</groupId> 181 181 <artifactId>jomc-spi</artifactId> 182 <version>1.1 0</version>182 <version>1.11.0-SNAPSHOT</version> 183 183 <scope>compile</scope> 184 184 </dependency> … … 197 197 </site> 198 198 </distributionManagement> 199 <properties> 200 <jomc.module.name>org.jomc.ri</jomc.module.name> 201 </properties> 199 202 <profiles> 200 203 <profile> … … 213 216 </dependencies> 214 217 </profile> 218 <profile> 219 <id>jdk11</id> 220 <activation> 221 <jdk>11</jdk> 222 </activation> 223 <dependencies> 224 <dependency> 225 <groupId>jakarta.annotation</groupId> 226 <artifactId>jakarta.annotation-api</artifactId> 227 <version>1.3.5</version> 228 <scope>compile</scope> 229 <optional>true</optional> 230 </dependency> 231 <dependency> 232 <groupId>jakarta.activation</groupId> 233 <artifactId>jakarta.activation-api</artifactId> 234 <version>1.2.2</version> 235 <scope>compile</scope> 236 </dependency> 237 <dependency> 238 <groupId>jakarta.xml.bind</groupId> 239 <artifactId>jakarta.xml.bind-api</artifactId> 240 <version>2.3.3</version> 241 <scope>compile</scope> 242 </dependency> 243 <dependency> 244 <groupId>org.glassfish.jaxb</groupId> 245 <artifactId>jaxb-runtime</artifactId> 246 <version>2.3.2</version> 247 <scope>runtime</scope> 248 </dependency> 249 <dependency> 250 <!-- Needed for javax.rmi.PortableRemoteObject only. --> 251 <groupId>org.glassfish.corba</groupId> 252 <artifactId>glassfish-corba-omgapi</artifactId> 253 <version>4.2.1</version> 254 <scope>provided</scope> 255 </dependency> 256 </dependencies> 257 </profile> 215 258 </profiles> 216 259 </project> -
jomc-ri/branches/jomc-ri-1.x/src/main/java/org/jomc/ri/DefaultLocator.java
r5414 r5456 186 186 if ( !this.isLocationSupported( location ) ) 187 187 { 188 throw new IOException( getUnsupportedUri SchemeMessage( Locale.getDefault(), location.getScheme() ) );188 throw new IOException( getUnsupportedUriMessage( Locale.getDefault(), location.toASCIIString() ) ); 189 189 } 190 190 … … 314 314 } 315 315 /** 316 * Gets the text of the {@code <Unsupported URI SchemeMessage>} message.316 * Gets the text of the {@code <Unsupported URI Message>} message. 317 317 * <p><dl> 318 318 * <dt><b>Languages:</b></dt> … … 322 322 * </dl></p> 323 323 * @param locale The locale of the message to return. 324 * @param schemeInfo Format argument.325 * @return The text of the {@code <Unsupported URI SchemeMessage>} message for {@code locale}.324 * @param uriInfo Format argument. 325 * @return The text of the {@code <Unsupported URI Message>} message for {@code locale}. 326 326 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 327 327 */ 328 328 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) 329 329 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.10.1", comments = "See http://www.jomc.org/jomc-tools/1.10.1" ) 330 private static String getUnsupportedUri SchemeMessage( final java.util.Locale locale, final java.lang.String schemeInfo )330 private static String getUnsupportedUriMessage( final java.util.Locale locale, final java.lang.String uriInfo ) 331 331 { 332 332 java.io.BufferedReader reader = null; … … 334 334 try 335 335 { 336 final String message = java.text.MessageFormat.format( java.util.ResourceBundle.getBundle( "org.jomc.ri.DefaultLocator", locale ).getString( "Unsupported URI Scheme Message" ), schemeInfo, (Object) null );336 final String message = java.text.MessageFormat.format( java.util.ResourceBundle.getBundle( "org.jomc.ri.DefaultLocator", locale ).getString( "Unsupported URI Message" ), uriInfo, (Object) null ); 337 337 final java.lang.StringBuilder builder = new java.lang.StringBuilder( message.length() ); 338 338 reader = new java.io.BufferedReader( new java.io.StringReader( message ) ); -
jomc-ri/branches/jomc-ri-1.x/src/main/resources/META-INF/jomc.xml
r5370 r5456 463 463 </authors> 464 464 <messages> 465 <message name="Unsupported URI SchemeMessage">466 <template defaultLanguage="en"> 467 <text language="en">URI scheme''{0}'' is not supported.</text>468 <text language="de">Keine Unterstützung für URI Schema''{0}''.</text>469 </template> 470 <arguments> 471 <argument index="0" name=" SchemeInfo"/>465 <message name="Unsupported URI Message"> 466 <template defaultLanguage="en"> 467 <text language="en">URI ''{0}'' is not supported.</text> 468 <text language="de">Keine Unterstützung für URI ''{0}''.</text> 469 </template> 470 <arguments> 471 <argument index="0" name="URI Info"/> 472 472 </arguments> 473 473 </message>
Note: See TracChangeset
for help on using the changeset viewer.