source: java2python/jackson-t/src/test/endnego3/testcode/EndNegotiation3.java@ 1237

Last change on this file since 1237 was 1237, checked in by wouter, 9 days ago

#390 added test program showing issue with changed empty lines. Fixed EndNegotiation tests

File size: 676 bytes
Line 
1package testcode;
2
3import org.eclipse.jdt.annotation.NonNull;
4
5import com.fasterxml.jackson.annotation.JsonValue;
6
7/**
8 * Indicates that a party turns away from the negotiation and.
9 *
10 */
11public class EndNegotiation3 {
12
13 @JsonValue
14 /**
15 * This is a comment to test #390. It has a blank line in it which may cause
16 * troubles. This comment attaches to the annotation (python decorator) and
17 * therefore ends up after the decorator..
18 *
19 * @param n
20 */
21 public @NonNull String act(int n) {
22 return "yes";
23 }
24
25 @Override
26 public @NonNull String toString() {
27 return "EndNegotiation[" + "]";
28 }
29
30 public static void main(String[] args) {
31 new EndNegotiation3();
32 }
33
34}
Note: See TracBrowser for help on using the repository browser.