Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
package com.wealthfront.test.filesetcheck;
import com.wealthfront.test.filesetcheck.BadSnippetsFileSetCheck.CodeSnippets;
import com.wealthfront.test.filesetcheck.BadSnippetsFileSetCheck.Snippet;
@CodeSnippets(fileExtension = "java", snippets = {
@Snippet(value = "\\n(?!@Transactional.*)\\n.*(?!abstract\\b).*extends Task\\b[^>]",
rationale = "Tasks must be transactional."),
})
public class JavaBadCodeSnippetsTest {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment