Skip to content

Commit

Permalink
dbeaver/pro#3404 Code style and annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-rider committed Oct 28, 2024
1 parent abec1f7 commit 27b7940
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,22 @@
*/
package org.jkiss.api;

import org.jkiss.code.NotNull;
import org.jkiss.code.Nullable;

import java.util.Map;

/**
* Object with contextual information
*/
public interface ObjectWithContextParameters {

@NotNull

Check warning on line 29 in modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java

View workflow job for this annotation

GitHub Actions / Check / Lint

[checkstyle] reported by reviewdog 🐶 Missing a Javadoc comment. Raw Output: /github/workspace/./modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java:29:5: warning: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck)
Map<String, Object> getObjectContextParameters();

Object getObjectContextParameter(String name);
@Nullable

Check warning on line 32 in modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java

View workflow job for this annotation

GitHub Actions / Check / Lint

[checkstyle] reported by reviewdog 🐶 Missing a Javadoc comment. Raw Output: /github/workspace/./modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java:32:5: warning: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck)
Object getObjectContextParameter(@NotNull String name);

void setObjectContextParameter(String name, Object value);
void setObjectContextParameter(@NotNull String name, @Nullable Object value);

Check warning on line 35 in modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java

View workflow job for this annotation

GitHub Actions / Check / Lint

[checkstyle] reported by reviewdog 🐶 Missing a Javadoc comment. Raw Output: /github/workspace/./modules/org.jkiss.utils/src/org/jkiss/api/ObjectWithContextParameters.java:35:5: warning: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck)

}

0 comments on commit 27b7940

Please sign in to comment.