Skip to content

Commit

Permalink
FIPS-11963/FIPS-11968 :: Replace $ with . in javaClassName of datatypes
Browse files Browse the repository at this point in the history
Change-Id: Ia64c5a3a48e2059288566d48edf398834bb13fd1
  • Loading branch information
lara0905 authored and hd42 committed Aug 12, 2024
1 parent 8ca00c1 commit 43057b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) Faktor Zehn GmbH - faktorzehn.org
*
*
* This source code is available under the terms of the AGPL Affero General Public License version
* 3.
*
*
* Please see LICENSE.txt for full license terms, including the additional permissions and
* restrictions as well as the possibility of alternative license terms.
*******************************************************************************/
Expand All @@ -30,7 +30,8 @@ public GenericValueDatatype getDatatype() {

@Override
public String getJavaClassName() {
return getDatatype().getJavaClassName();
String javaClassName = getDatatype().getJavaClassName();
return javaClassName.replace("$", ".");
}

@Override
Expand Down
5 changes: 5 additions & 0 deletions maven/validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
<artifactId>plexus-utils</artifactId>
<version>3.5.1</version>
</dependency>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.core</artifactId>
<version>3.36.0</version>
</dependency>
</dependencies>
<build>
<resources>
Expand Down

0 comments on commit 43057b5

Please sign in to comment.