Example #1
0
  private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();

    if (PSEUDO_SERIAL_VERSION_UID < JRConstants.PSEUDO_SERIAL_VERSION_UID_3_7_2) {
      lineStyleValue = LineStyleEnum.getByValue(lineStyle);

      lineStyle = null;
    }
  }
Example #2
0
 /** @deprecated Replaced by {@link #setLineStyle(LineStyleEnum)}. */
 public void setLineStyle(Byte lineStyle) {
   setLineStyle(LineStyleEnum.getByValue(lineStyle));
 }