- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {DateTime d =
new DateTime()
DateTimeFormatter formatter;String text;formatter.parseDateTime(text)
Object instant;new DateTime(instant)
- Smart code suggestions by Codota
}
/** * Creates a logical application activity object with the specified signature. * * @param level * activity severity level * @param name * activity name * @param signature * activity signature * @param trk * {@link Tracker} instance associated with this activity * @throws NullPointerException * if the signature is {@code null} * @throws IllegalArgumentException * if the signature is empty or is too long * @see #setTrackingId(String) */ protected TrackingActivity(OpLevel level, String name, String signature, TrackerImpl trk) { super(signature, name, trk.getSource()); tracker = trk; setSeverity(level); setLocation(trk.getSource()); }
/** * Creates a logical application activity object with the specified signature. * * @param level * activity severity level * @param name * activity name * @param trk * {@link Tracker} instance associated with this activity * @throws NullPointerException * if the signature is {@code null} * @throws IllegalArgumentException * if the signature is empty or is too long * @see #setTrackingId(String) */ protected TrackingActivity(OpLevel level, String name, TrackerImpl trk) { super(trk.newUUID(), name, trk.getSource()); tracker = trk; setSeverity(level); setLocation(trk.getSource()); }
curActivity.setLocation(loc);
activity.setCorrelator(value); } else if (key.equalsIgnoreCase(PARAM_LOCATION_LABEL)) { activity.setLocation(value); } else if (key.equalsIgnoreCase(PARAM_RESOURCE_LABEL)) { activity.setResource(value);