Skip to content

meet syntax-error when abstract class without public #168

@Anilople

Description

@Anilople

code

abstract class AbstractResource {
  private String path;

  public String getPath() {
    return path;
  }

  public void setPath(String path) {
    this.path = path;
  }
}

the puml generated

@startuml
package com.ctrip.framework.apollo.openapi.client.service {
  abstract ~class AbstractResource {
    - path : String
    ~ AbstractResource()
    + getPath() : String
    + setPath(path : String)
  }
}
@enduml

fail to compile by puml becasue ~ in ~class

Apollo Open Api urm

when change ~class to class, it work.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions