Skip to content

Possibly Remove Dependency to JSR305 #115

@in-fke

Description

@in-fke

I would be great if we could remove the dependency to this "dormant" (rather dead) JSR305.
Actually, we currently have trouble with two Artifacts both exposing the package "javax.annotation" and JSR305 is one of them.

$ grep javax.annotation $(find . -name "*.java")
./src/main/java/org/subethamail/smtp/internal/server/ServerThread.java:import javax.annotation.concurrent.GuardedBy;
./src/main/java/org/subethamail/smtp/server/SMTPServer.java:import javax.annotation.concurrent.GuardedBy;
./src/main/java/org/subethamail/smtp/server/TimeBasedSessionIdFactory.java:import javax.annotation.concurrent.GuardedBy;
./src/main/java/org/subethamail/smtp/server/TimeBasedSessionIdFactory.java:import javax.annotation.concurrent.ThreadSafe;

Reference: https://stackoverflow.com/a/67415527/1747140

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions