-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE: 696] fixes nested proto3 messages ClassNotFoundException (#697)
* fixes nested proto3 messages ClassNotFoundException * proto3 msg container names in reverse order. * missing license header
- Loading branch information
1 parent
d68728c
commit ccb55b0
Showing
5 changed files
with
152 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
...er-proto3/src/test/java/com/github/dozermapper/protobuf/vo/proto/TestContainerObject.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* | ||
* Copyright 2005-2018 Dozer Project | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.github.dozermapper.protobuf.vo.proto; | ||
|
||
public class TestContainerObject { | ||
public enum TestContainedEnum { | ||
VALUE1, VALUE2; | ||
} | ||
|
||
public static class TestContainedObject{ | ||
private String c1; | ||
|
||
public TestContainedObject() { | ||
|
||
} | ||
|
||
public String getC1() { | ||
return c1; | ||
} | ||
|
||
public void setC1(String c1) { | ||
this.c1 = c1; | ||
} | ||
} | ||
|
||
private TestContainedObject obj1; | ||
private TestContainedEnum enum1; | ||
|
||
public TestContainerObject() { | ||
} | ||
|
||
public TestContainedEnum getEnum1() { | ||
return enum1; | ||
} | ||
|
||
public TestContainedObject getObj1() { | ||
return obj1; | ||
} | ||
|
||
public void setEnum1(TestContainedEnum enum1) { | ||
this.enum1 = enum1; | ||
} | ||
|
||
public void setObj1(TestContainedObject obj1) { | ||
this.obj1 = obj1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters