davidmigloz/go-bees

View on GitHub

Showing 387 of 387 total issues

Parameter name 'r' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Open

            public void onRecordingLoaded(Recording r) {

Checks that method parameter names conform to a specified pattern.By using accessModifiers property it is possibleto specify different formats for methods at different visibility levels.

To validate catch parameters please useCatchParameterName.

To validate lambda parameters please useLambdaParameterName.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Line is longer than 100 characters (found 105).
Open

                                            public void onClick(DialogInterface dialogInterface, int i) {

Checks for long lines.

Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Line is longer than 100 characters (found 101).
Open

    void updateApiariesCurrentWeather(List<Apiary> apiariesToUpdate, @NonNull TaskCallback callback);

Checks for long lines.

Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Local variable name 'h' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Open

                        Hive h = apiary.getHives().where().equalTo(ID, hive.getId()).findFirst();

Checks that local, non-final variable names conform to a specified pattern.A catch parameter is considered to be a local variable.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Line is longer than 100 characters (found 101).
Open

    public void getAndSaveMeteoRecord(@NonNull final Apiary apiary, @NonNull TaskCallback callback) {

Checks for long lines.

Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

'?' should be on a new line.
Open

            temperature = jsonMainObject.has(OWM_MAIN_TEMPERATURE) ?

Local variable name 'xAxis' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Open

        XAxis xAxis = chart.getXAxis();

Checks that local, non-final variable names conform to a specified pattern.A catch parameter is considered to be a local variable.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Open

    public static void wtf(Throwable t, String message, Object... args) {

Checks that method parameter names conform to a specified pattern.By using accessModifiers property it is possibleto specify different formats for methods at different visibility levels.

To validate catch parameters please useCatchParameterName.

To validate lambda parameters please useLambdaParameterName.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

'?' should be on a new line.
Open

            rain = jsonRainObject.has(OWM_RAIN_3H) ?

Method name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9_]*$'.
Open

    public static void e(Throwable t) {

Checks that method names conform to a specified pattern.

Also, checks if a method name has the same name as the residing class.The default is false (it is not allowed). It is legal in Java to havemethod with the same name as a class. As long as a return type is specifiedit is a method and not a constructor which it could be easily confused as.Does not check-style the name of an overridden methods because the developerdoes not have a choice in renaming such methods.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Parameter name 'r' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Open

    public int compareTo(@NonNull Record r) {

Checks that method parameter names conform to a specified pattern.By using accessModifiers property it is possibleto specify different formats for methods at different visibility levels.

To validate catch parameters please useCatchParameterName.

To validate lambda parameters please useLambdaParameterName.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Line is longer than 100 characters (found 112).
Open

    void getRecording(long apiaryId, long hiveId, Date start, Date end, @NonNull GetRecordingCallback callback);

Checks for long lines.

Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Local variable name 'n' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Open

            Number n = realm.where(Record.class).max(ID);

Checks that local, non-final variable names conform to a specified pattern.A catch parameter is considered to be a local variable.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Local variable name 'n' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Open

                    Number n = realm.where(MeteoRecord.class).max(ID);

Checks that local, non-final variable names conform to a specified pattern.A catch parameter is considered to be a local variable.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

'?' should be on a new line.
Open

            weatherConditionIcon = jsonWeatherObject.has(OWM_WEATHER_ICON) ?

'?' should be on a new line.
Open

            temperatureMax = jsonMainObject.has(OWM_MAIN_TEMPERATURE_MAX) ?

Local variable name 'xAxisFormatter' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Open

        IAxisValueFormatter xAxisFormatter = new HourAxisValueFormatter(referenceTimestamp);

Checks that local, non-final variable names conform to a specified pattern.A catch parameter is considered to be a local variable.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

'+' should be on a new line.
Open

                getString(R.string.share_app_text) +

Method name 'v' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9_]*$'.
Open

    public static void v(String message, Object... args) {

Checks that method names conform to a specified pattern.

Also, checks if a method name has the same name as the residing class.The default is false (it is not allowed). It is legal in Java to havemethod with the same name as a class. As long as a return type is specifiedit is a method and not a constructor which it could be easily confused as.Does not check-style the name of an overridden methods because the developerdoes not have a choice in renaming such methods.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Line continuation have incorrect indentation level, expected level should be 4.
Open

         * and handle the url itself, otherwise return false.

Checks the indentation of the continuation lines in block tags.That is whether thecontinued description of at clauses should be indented or not. If the text is not properlyindented it throws a violation. A continuation line is when the description starts/spanspast the line with the tag. Default indentation required is at least 4, but this can bechanged with the help of properties below.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Severity
Category
Status
Source
Language