spotbugs / discuss

SpotBugs mailing list
6 stars 1 forks source link

Task :spotbugs:spotlessJavaCheck FAILED #104

Closed lifeinwild closed 3 years ago

lifeinwild commented 3 years ago

build failed at head revision. and 'spotbugs:spotlessApply' is too heavy to execute.


Task :spotbugs:spotlessJavaCheck FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':spotbugs:spotlessJavaCheck'.
> The following files had format violations:
      spotbugs\src\gui\main\edu\umd\cs\findbugs\gui2\AboutDialog.java
          @@ -1,240 +1,240 @@
          -/*\r\n
          - * FindBugs - Find bugs in Java programs\r\n
          - * Copyright (C) 2003-2006 University of Maryland\r\n
          - *\r\n
          - * This library is free software; you can redistribute it and/or\r\n
          - * modify it under the terms of the GNU Lesser General Public\r\n
          - * License as published by the Free Software Foundation; either\r\n
          - * version 2.1 of the License, or (at your option) any later version.\r\n
          - *\r\n
          - * This library is distributed in the hope that it will be useful,\r\n
          - * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n
          - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n
          - * Lesser General Public License for more details.\r\n
          - *\r\n
          - * You should have received a copy of the GNU Lesser General Public\r\n
          - * License along with this library; if not, write to the Free Software\r\n
          - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r\n
          - */\r\n
          -\r\n
          -/*\r\n
          - * AboutDialog.java\r\n
          - *\r\n
          - * Created on April 6, 2003, 7:05 PM\r\n
          - */\r\n
          -\r\n
          -package edu.umd.cs.findbugs.gui2;\r\n
          -\r\n
          -import java.io.IOException;\r\n
          -import java.net.URL;\r\n
          -import java.text.MessageFormat;\r\n
          -import java.util.regex.Pattern;\r\n
          -\r\n
          -import javax.swing.JFrame;\r\n
          -import javax.swing.event.HyperlinkEvent;\r\n
          -\r\n
          -import edu.umd.cs.findbugs.Version;\r\n
          -import edu.umd.cs.findbugs.log.Logger;\r\n
          -import edu.umd.cs.findbugs.util.LaunchBrowser;\r\n
          -\r\n
          -/**\r\n
          - * The Help:About dialog.\r\n
          - *\r\n
          - * @author David Hovemeyer\r\n
          - */\r\n
          -public class AboutDialog extends javax.swing.JDialog {\r\n
          -    private static final long serialVersionUID = 3546076956480385584L;\r\n
          -\r\n
          -    // private JFrame parent;\r\n
      ... (432 more lines that didn't fit)
  Violations also present in 1110 other files.
  Run 'gradlew.bat :spotbugs:spotlessApply' to fix these violations.
lifeinwild commented 3 years ago

I wrote it in wrong place.