Skip to content

Commit 7b34259

Browse files
committed
Repackage for dev.failsafe
1 parent 026456d commit 7b34259

File tree

167 files changed

+1296
-614
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+1296
-614
lines changed

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<version>7</version>
99
</parent>
1010

11-
<groupId>net.jodah</groupId>
11+
<groupId>dev.failsafe</groupId>
1212
<artifactId>failsafe</artifactId>
1313
<version>2.4.5-SNAPSHOT</version>
1414
<name>Failsafe</name>
@@ -97,7 +97,7 @@
9797
<properties>
9898
<property>
9999
<name>listener</name>
100-
<value>net.jodah.failsafe.testing.TestCaseLogger</value>
100+
<value>dev.failsafe.testing.TestCaseLogger</value>
101101
</property>
102102
</properties>
103103
</configuration>
@@ -141,9 +141,9 @@
141141
<Implementation-Title>${project.description}</Implementation-Title>
142142
<Implementation-Version>${project.version}</Implementation-Version>
143143
<Bundle-Name>Failsafe</Bundle-Name>
144-
<Bundle-SymbolicName>net.jodah.failsafe</Bundle-SymbolicName>
145-
<Automatic-Module-Name>net.jodah.failsafe</Automatic-Module-Name>
146-
<Export-Package>net.jodah.failsafe*;version=1.0</Export-Package>
144+
<Bundle-SymbolicName>dev.failsafe</Bundle-SymbolicName>
145+
<Automatic-Module-Name>dev.failsafe</Automatic-Module-Name>
146+
<Export-Package>dev.failsafe*;version=1.0</Export-Package>
147147
<Import-Package>*</Import-Package>
148148
</instructions>
149149
</configuration>

src/main/java/net/jodah/failsafe/AsyncExecution.java renamed to src/main/java/dev/failsafe/AsyncExecution.java

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
package net.jodah.failsafe;
1+
/*
2+
* Copyright 2018 the original author or authors.
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+
package dev.failsafe;
217

318
import java.util.concurrent.CompletableFuture;
419

src/main/java/net/jodah/failsafe/AsyncExecutionImpl.java renamed to src/main/java/dev/failsafe/AsyncExecutionImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License
1515
*/
16-
package net.jodah.failsafe;
16+
package dev.failsafe;
1717

18-
import net.jodah.failsafe.internal.util.Assert;
19-
import net.jodah.failsafe.spi.*;
20-
import net.jodah.failsafe.spi.Scheduler;
18+
import dev.failsafe.internal.util.Assert;
19+
import dev.failsafe.spi.*;
20+
import dev.failsafe.spi.*;
2121

2222
import java.util.List;
2323
import java.util.concurrent.CompletableFuture;

src/main/java/net/jodah/failsafe/CircuitBreaker.java renamed to src/main/java/dev/failsafe/CircuitBreaker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License
1515
*/
16-
package net.jodah.failsafe;
16+
package dev.failsafe;
1717

1818
import java.time.Duration;
1919

src/main/java/net/jodah/failsafe/CircuitBreakerBuilder.java renamed to src/main/java/dev/failsafe/CircuitBreakerBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License
1515
*/
16-
package net.jodah.failsafe;
16+
package dev.failsafe;
1717

18-
import net.jodah.failsafe.event.CircuitBreakerStateChangedEvent;
19-
import net.jodah.failsafe.event.EventListener;
20-
import net.jodah.failsafe.internal.CircuitBreakerImpl;
21-
import net.jodah.failsafe.internal.util.Assert;
18+
import dev.failsafe.event.EventListener;
19+
import dev.failsafe.internal.CircuitBreakerImpl;
20+
import dev.failsafe.internal.util.Assert;
21+
import dev.failsafe.event.CircuitBreakerStateChangedEvent;
2222

2323
import java.time.Duration;
2424
import java.util.function.BiPredicate;

src/main/java/net/jodah/failsafe/CircuitBreakerConfig.java renamed to src/main/java/dev/failsafe/CircuitBreakerConfig.java

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
1-
package net.jodah.failsafe;
1+
/*
2+
* Copyright 2018 the original author or authors.
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+
package dev.failsafe;
217

3-
import net.jodah.failsafe.event.CircuitBreakerStateChangedEvent;
4-
import net.jodah.failsafe.event.EventListener;
18+
import dev.failsafe.event.EventListener;
19+
import dev.failsafe.event.CircuitBreakerStateChangedEvent;
520

621
import java.time.Duration;
722

src/main/java/net/jodah/failsafe/CircuitBreakerListeners.java renamed to src/main/java/dev/failsafe/CircuitBreakerListeners.java

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
1-
package net.jodah.failsafe;
1+
/*
2+
* Copyright 2018 the original author or authors.
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+
package dev.failsafe;
217

3-
import net.jodah.failsafe.event.CircuitBreakerStateChangedEvent;
4-
import net.jodah.failsafe.event.EventListener;
18+
import dev.failsafe.event.EventListener;
19+
import dev.failsafe.event.CircuitBreakerStateChangedEvent;
520

621
/**
722
* Configures listeners for a {@link CircuitBreaker}.

src/main/java/net/jodah/failsafe/CircuitBreakerOpenException.java renamed to src/main/java/dev/failsafe/CircuitBreakerOpenException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License
1515
*/
16-
package net.jodah.failsafe;
16+
package dev.failsafe;
1717

1818
/**
1919
* Thrown when an execution is attempted while a configured {@link CircuitBreaker} is open.

src/main/java/net/jodah/failsafe/DelayablePolicyBuilder.java renamed to src/main/java/dev/failsafe/DelayablePolicyBuilder.java

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
1-
package net.jodah.failsafe;
1+
/*
2+
* Copyright 2018 the original author or authors.
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+
package dev.failsafe;
217

3-
import net.jodah.failsafe.function.ContextualSupplier;
4-
import net.jodah.failsafe.internal.util.Assert;
18+
import dev.failsafe.function.ContextualSupplier;
19+
import dev.failsafe.internal.util.Assert;
520

621
import java.time.Duration;
722

src/main/java/net/jodah/failsafe/DelayablePolicyConfig.java renamed to src/main/java/dev/failsafe/DelayablePolicyConfig.java

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
1-
package net.jodah.failsafe;
1+
/*
2+
* Copyright 2018 the original author or authors.
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+
package dev.failsafe;
217

3-
import net.jodah.failsafe.function.ContextualSupplier;
18+
import dev.failsafe.function.ContextualSupplier;
419

520
import java.time.Duration;
621

0 commit comments

Comments
 (0)