Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么过滤掉静态常量类呢? #4

Open
dunzhu678 opened this issue Jul 1, 2022 · 0 comments
Open

怎么过滤掉静态常量类呢? #4

dunzhu678 opened this issue Jul 1, 2022 · 0 comments

Comments

@dunzhu678
Copy link

大佬,我们的代码中有一个静态常量类,里面除了常量和构造方法,没有其他的方法函数了。在生成报告的时候,老是提示jacoco的报告中没有对应的html文件,怎么在代码中过滤掉这种类型的代码,类似于过滤掉接口类那样。不知道怎么写代码。
package cn.code.api;

public final class CodeMode {

public static final String PROPERTY_NAME = "mode";

public static final String IN_PROCESS_MODE = "in-process";
public static final String HTTP_MODE = "http";

private CodeMode() {
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant