-
-
Save leeym/d7d7b8099a530d6c0c518c80bd4994c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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