Procházet zdrojové kódy

fixed JASSIST-212

tags/rel_3_18_2_ga
chibash před 10 roky
rodič
revize
457a8b216d
1 změnil soubory, kde provedl 23 přidání a 0 odebrání
  1. 23
    0
      src/test/test4/JIRA212.java

+ 23
- 0
src/test/test4/JIRA212.java Zobrazit soubor

@@ -0,0 +1,23 @@
package test4;

public class JIRA212 {
public Long id;
public String name;
public void test() {
JIRA212 object = new JIRA212();

object.name = "test"; // get or set string value

try { // in try
object.id = 100L; // get or set long value
String name = object.name; // get or set string value
} catch (Throwable t) {
t.printStackTrace();
}
}

public Long getId() { return id; }
public void setId(Long id) { this.id = id; }
public String getName() { return name; }
public void setName(String name) { this.name = name; }
}

Načítá se…
Zrušit
Uložit