Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
tishun committed Aug 30, 2024
1 parent 8314184 commit fb8a5c2
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 157 deletions.
13 changes: 0 additions & 13 deletions src/main/java/io/lettuce/core/json/DelegateJsonValue.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
* All rights reserved.
*
* Licensed under the MIT License.
*
* This file contains contributions from third-party contributors
* licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.lettuce.core.json;
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/io/lettuce/core/json/JsonArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
* All rights reserved.
*
* Licensed under the MIT License.
*
* This file contains contributions from third-party contributors
* licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.lettuce.core.json;
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/io/lettuce/core/json/JsonParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
* All rights reserved.
*
* Licensed under the MIT License.
*
* This file contains contributions from third-party contributors
* licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.lettuce.core.json;
Expand Down
19 changes: 0 additions & 19 deletions src/main/java/io/lettuce/core/json/JsonParserRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,12 @@
* All rights reserved.
*
* Licensed under the MIT License.
*
* This file contains contributions from third-party contributors
* licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.lettuce.core.json;

import io.lettuce.core.codec.RedisCodec;

import java.nio.ByteBuffer;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

public class JsonParserRegistry {

private JsonParserRegistry() {
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/io/lettuce/core/json/JsonPath.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
* All rights reserved.
*
* Licensed under the MIT License.
*
* This file contains contributions from third-party contributors
* licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.lettuce.core.json;
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/io/lettuce/core/json/JsonValue.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
* All rights reserved.
*
* Licensed under the MIT License.
*
* This file contains contributions from third-party contributors
* licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.lettuce.core.json;
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/io/lettuce/core/json/RedisJsonException.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
* All rights reserved.
*
* Licensed under the MIT License.
*
* This file contains contributions from third-party contributors
* licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.lettuce.core.json;
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/io/lettuce/core/json/arguments/JsonGetArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
* All rights reserved.
*
* Licensed under the MIT License.
*
* This file contains contributions from third-party contributors
* licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.lettuce.core.json.arguments;
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/io/lettuce/core/json/arguments/JsonRangeArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
* All rights reserved.
*
* Licensed under the MIT License.
*
* This file contains contributions from third-party contributors
* licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.lettuce.core.json.arguments;
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/io/lettuce/core/json/arguments/JsonSetArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
* All rights reserved.
*
* Licensed under the MIT License.
*
* This file contains contributions from third-party contributors
* licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.lettuce.core.json.arguments;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/io/lettuce/core/output/JsonValueListOutput.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright 2024, Redis Ltd. and Contributors
* All rights reserved.
*
* Licensed under the MIT License.
*/
package io.lettuce.core.output;

import io.lettuce.core.codec.RedisCodec;
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/io/lettuce/core/output/NumberListOutput.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
* All rights reserved.
*
* Licensed under the MIT License.
*
* This file contains contributions from third-party contributors
* licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.lettuce.core.output;

Expand Down
12 changes: 4 additions & 8 deletions src/test/java/io/lettuce/apigenerator/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@
*/
class Constants {

public static final String[] TEMPLATE_NAMES = { /*
* "BaseRedisCommands", "RedisAclCommands", "RedisFunctionCommands",
* "RedisGeoCommands", "RedisHashCommands", "RedisHLLCommands",
* "RedisKeyCommands", "RedisListCommands", "RedisScriptingCommands",
* "RedisSentinelCommands", "RedisServerCommands", "RedisSetCommands",
* "RedisSortedSetCommands", "RedisStreamCommands", "RedisStringCommands",
* "RedisTransactionalCommands",
*/
public static final String[] TEMPLATE_NAMES = { "BaseRedisCommands", "RedisAclCommands", "RedisFunctionCommands",
"RedisGeoCommands", "RedisHashCommands", "RedisHLLCommands", "RedisKeyCommands", "RedisListCommands",
"RedisScriptingCommands", "RedisSentinelCommands", "RedisServerCommands", "RedisSetCommands",
"RedisSortedSetCommands", "RedisStreamCommands", "RedisStringCommands", "RedisTransactionalCommands",
"RedisJsonCommands" };

public static final File TEMPLATES = new File("src/main/templates");
Expand Down

0 comments on commit fb8a5c2

Please sign in to comment.