• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

leonchen83 / redis-replicator / #2539

25 Sep 2025 02:40AM UTC coverage: 72.206% (-0.05%) from 72.256%
#2539

push

leonchen83
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.3 to 3.12.0

Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.11.3 to 3.12.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.11.3...maven-javadoc-plugin-3.12.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-version: 3.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

7165 of 9923 relevant lines covered (72.21%)

0.72 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.0
/src/main/java/com/moilioncircle/redis/replicator/cmd/CommandName.java
1
/*
2
 * Copyright 2016-2018 Leon Chen
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *     http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16

17
package com.moilioncircle.redis.replicator.cmd;
18

19
/**
20
 * @author Leon Chen
21
 * @since 2.1.0
22
 */
23
public class CommandName {
24
    public final String name;
25

26
    private CommandName(String name) {
1✔
27
        this.name = name;
1✔
28
    }
1✔
29

30
    public static CommandName name(String key) {
31
        return new CommandName(key);
1✔
32
    }
33

34
    @Override
35
    public boolean equals(Object o) {
36
        if (this == o) return true;
1✔
37
        if (o == null || getClass() != o.getClass()) return false;
1✔
38

39
        CommandName that = (CommandName) o;
1✔
40
        return name.toUpperCase().equals(that.name.toUpperCase());
1✔
41
    }
42

43
    @Override
44
    public int hashCode() {
45
        return name.toUpperCase().hashCode();
1✔
46
    }
47

48
    @Override
49
    public String toString() {
50
        return "CommandName{" +
×
51
                "name='" + name + '\'' +
52
                '}';
53
    }
54
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc