Skip to content

Commit 2c65e20

Browse files
committed
docs: unify @author tag to @author <a href="https://github.com/loong10k">Loong Wan</a>
1 parent 1f44852 commit 2c65e20

14 files changed

Lines changed: 76 additions & 76 deletions

‎src/main/java/com/lmax/disruptor/spring/boot/DisruptorAutoConfiguration.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
* is configured and started when the {@code spring.disruptor.enabled} property is set to
5050
* {@code true}.</p>
5151
*
52-
* @author [@Loong Wan](https://github.com/loong10k)
52+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
5353
* @since 1.0.0
5454
*/
5555
public class DisruptorAutoConfiguration implements ApplicationContextAware {

‎src/main/java/com/lmax/disruptor/spring/boot/DisruptorEventHandlerCreater.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* the ordered list of {@link DisruptorEventDispatcher}s used by the Disruptor, applying
2525
* any configured handler-chain definitions.
2626
*
27-
* @author [@Loong Wan](https://github.com/loong10k)
27+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
2828
* @since 1.0.0
2929
*/
3030
@Slf4j

‎src/main/java/com/lmax/disruptor/spring/boot/DisruptorProperties.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Configuration properties for the LMAX Disruptor integration, bound to the
1515
* {@code spring.disruptor} prefix.
1616
*
17-
* @author [@Loong Wan](https://github.com/loong10k)
17+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
1818
* @since 1.0.0
1919
*/
2020
@ConfigurationProperties(DisruptorProperties.PREFIX)

‎src/main/java/com/lmax/disruptor/spring/boot/context/DisruptorApplicationContext.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* publishes {@link DisruptorEvent}s by wrapping them in a Spring
2929
* {@link DisruptorApplicationEvent}.
3030
*
31-
* @author [@Loong Wan](https://github.com/loong10k)
31+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
3232
* @since 1.0.0
3333
*/
3434
public class DisruptorApplicationContext implements ApplicationContextAware, DisruptorEventPublisher {

‎src/main/java/com/lmax/disruptor/spring/boot/context/DisruptorEventAwareProcessor.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* {@link BeanPostProcessor} that injects the {@link DisruptorEventPublisher} into beans
2828
* implementing {@link DisruptorEventPublisherAware}.
2929
*
30-
* @author [@Loong Wan](https://github.com/loong10k)
30+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
3131
* @since 1.0.0
3232
*/
3333
public class DisruptorEventAwareProcessor implements ApplicationContextAware ,BeanPostProcessor, InitializingBean {

‎src/main/java/com/lmax/disruptor/spring/boot/context/event/EventPublicationInterceptor.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* The event class must extend {@link DisruptorEvent} and expose a single-argument
3333
* constructor accepting the event source (the target object of the invocation).</p>
3434
*
35-
* @author [@Loong Wan](https://github.com/loong10k)
35+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
3636
* @since 1.0.0
3737
*/
3838
public class EventPublicationInterceptor
Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
1-
/*
2-
* Copyright (c) 2017, hiwepy (https://github.com/easy-4-java).
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5-
* use this file except in compliance with the License. You may obtain a copy of
6-
* 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, WITHOUT
12-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13-
* License for the specific language governing permissions and limitations under
14-
* the License.
15-
*/
16-
package com.lmax.disruptor.spring.boot.event;
17-
18-
import lombok.Getter;
19-
import org.springframework.context.ApplicationEvent;
20-
21-
/**
22-
* Spring {@link ApplicationEvent} wrapping a {@link DisruptorEvent}, optionally carrying a
23-
* bound data object.
24-
*
25-
* @author [@Loong Wan](https://github.com/loong10k)
26-
* @since 1.0.0
27-
*/
28-
@Getter
29-
public class DisruptorApplicationEvent extends ApplicationEvent {
30-
31-
/**
32-
* The data object bound to this event.
33-
*/
34-
protected Object bind;
35-
36-
/**
37-
* Constructs a new event with the given source and bound data object.
38-
* @param source the component that published the event
39-
* @param bind the data object bound to this event
40-
*/
41-
public DisruptorApplicationEvent(Object source, Object bind) {
42-
super(source);
43-
this.bind = bind;
44-
}
45-
46-
/**
47-
* Constructs a new event with the given source and no bound data object.
48-
* @param source the component that published the event
49-
*/
50-
public DisruptorApplicationEvent(Object source) {
51-
super(source);
52-
}
53-
54-
/**
55-
* Binds the given data object to this event.
56-
* @param bind the data object to bind
57-
*/
58-
public void bind(Object bind) {
59-
this.bind = bind;
60-
}
61-
62-
63-
}
1+
/*
2+
* Copyright (c) 2017, hiwepy (https://github.com/easy-4-java).
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* 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, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
package com.lmax.disruptor.spring.boot.event;
17+
18+
import lombok.Getter;
19+
import org.springframework.context.ApplicationEvent;
20+
21+
/**
22+
* Spring {@link ApplicationEvent} wrapping a {@link DisruptorEvent}, optionally carrying a
23+
* bound data object.
24+
*
25+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
26+
* @since 1.0.0
27+
*/
28+
@Getter
29+
public class DisruptorApplicationEvent extends ApplicationEvent {
30+
31+
/**
32+
* The data object bound to this event.
33+
*/
34+
protected Object bind;
35+
36+
/**
37+
* Constructs a new event with the given source and bound data object.
38+
* @param source the component that published the event
39+
* @param bind the data object bound to this event
40+
*/
41+
public DisruptorApplicationEvent(Object source, Object bind) {
42+
super(source);
43+
this.bind = bind;
44+
}
45+
46+
/**
47+
* Constructs a new event with the given source and no bound data object.
48+
* @param source the component that published the event
49+
*/
50+
public DisruptorApplicationEvent(Object source) {
51+
super(source);
52+
}
53+
54+
/**
55+
* Binds the given data object to this event.
56+
* @param bind the data object to bind
57+
*/
58+
public void bind(Object bind) {
59+
this.bind = bind;
60+
}
61+
62+
63+
}

‎src/test/java/com/lmax/disruptor/spring/boot/DisruptorAutoConfigurationTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* Tests for {@link DisruptorAutoConfiguration}.
1919
*
20-
* @author [@Loong Wan](https://github.com/loong10k)
20+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
2121
*/
2222
class DisruptorAutoConfigurationTest {
2323

‎src/test/java/com/lmax/disruptor/spring/boot/DisruptorEventHandlerCreaterTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* Tests for {@link DisruptorEventHandlerCreater}.
2121
*
22-
* @author [@Loong Wan](https://github.com/loong10k)
22+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
2323
*/
2424
class DisruptorEventHandlerCreaterTest {
2525

‎src/test/java/com/lmax/disruptor/spring/boot/DisruptorPropertiesTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* Tests for {@link DisruptorProperties}.
1212
*
13-
* @author [@Loong Wan](https://github.com/loong10k)
13+
* @author <a href="https://github.com/loong10k">Loong Wan</a>
1414
*/
1515
class DisruptorPropertiesTest {
1616

0 commit comments

Comments
 (0)