feedback-to-code/mozzarella huggingface dataset:
Repository: iluwatar/java-design-patterns
Issue: Translate event-driven-architecture readme file into Korean
Labels: type: feature
epic: translation

I wanna translate `event-driven-architecture` readme file into Korean, if possible.

Issue comments:
Subtask of https://github.com/iluwatar/java-design-patterns/issues/2282

Pull request review comments:

Patch that resolved the issue:
diff --git a/localization/ko/event-driven-architecture/README.md b/localization/ko/event-driven-architecture/README.md
new file mode 100644
index 000000000000..0296076db582
--- /dev/null
+++ b/localization/ko/event-driven-architecture/README.md
@@ -0,0 +1,33 @@
+---
+title: Event Driven Architecture
+category: Architectural
+language: ko
+tag:
+- Reactive
+---
+
+## 의도
+이벤트 드리븐 아키텍처를 사용하는 다른 어플리케이션에 특정 객체의 상태 변화를 알리고 관련 이벤트를 발송할 수 있습니다.
+
+## 클래스 다이어그램
+![alt text](./etc/eda.png "Event Driven Architecture")
+
+## 적용 가능성
+아래와 같은 상황에서 이벤트 드리븐 아키텍처를 사용할 수 있습니다.
+
+* 느슨하게 연결된 시스템을 구축하고자 하는 경우
+* 반응형 시스템을 구축하고자 하는 경우
+* 확장성을 갖춘 시스템을 구축하고자 하는 경우
+
+## 실제 적용 사례
+
+* Chargify라는 결제 API에서는 다양한 이벤트를 통해 결제 활동을 드러냅니다. (https://docs.chargify.com/api-events)
+* Amazon의 AWS Lambda에서는 Amazon S3 버킷에서의 변경, Amazon DynamoDB 테이블에서의 수정이나 어플리케이션 및 기기에서 발생한 커스텀 이벤트에 대응하여 코드를 실행할 수 있습니다. (https://aws.amazon.com/lambda)
+* MySQL은 데이터베이스 테이블에서 발생하는 삽입이나 수정 이벤트를 기반으로 트리거를 실행합니다.
+
+## 크레딧
+
+* [이벤트 드리븐 아키텍처 - 위키피디아](https://en.wikipedia.org/wiki/Event-driven_architecture)
+* [이벤트 드리븐 아키텍처는 무엇인가?](https://aws.amazon.com/event-driven-architecture/)
+* [실제 적용 사례/이벤트 드리븐 아키텍처](https://wiki.haskell.org/Real_World_Applications/Event_Driven_Applications)
+* [이벤트 드리븐 아키텍처의 정의](http://searchsoa.techtarget.com/definition/event-driven-architecture)


Test patch:
Repository: iluwatar/java-design-patterns
Issue: Translate event-sourcing readme file into Korean
Labels: type: feature
epic: translation

I'll translate.

Issue comments:

Pull request review comments:
remove the extra newline
Sorry. I'll check it more carefully next time 🤗

Patch that resolved the issue:
diff --git a/localization/ko/event-sourcing/README.md b/localization/ko/event-sourcing/README.md
new file mode 100644
index 000000000000..1d3bd584061c
--- /dev/null
+++ b/localization/ko/event-sourcing/README.md
@@ -0,0 +1,36 @@
+---
+title: Event Sourcing
+category: Architectural
+language: ko
+tag:
+- Performance
+- Cloud distributed
+
+---
+
+## 의도
+
+데이터의 현재 상태만 도메인에 저장하는 대신, 추가 전용 저장소를 사용하여 해당 데이터에 수행된 전체 작업을 기록하십시오. 저장소는 기록 시스템으로서의 역할을 하며 도메인 객체를 구체화하는데 사용할 수 있습니다. 따라서 데이터 모델과 비지니스 도메인을 동기화할 필요가 없고 성능, 확장성 및 응답성이 향상되어 복잡한 도메인에서의 작업을 단순화할 수 있습니다.
+또한, 트랜잭션 데이터에 대한 일관성을 제공하고, 보상 작업을 수행할 수 있는 전체 감사용 기록과 히스토리를 유지 관리할 수 있습니다.
+
+## 클래스 다이어그램
+
+![alt text](./etc/event-sourcing.png "Event Sourcing")
+
+## 적용 가능성
+아래와 같은 상황에서 이벤트 소싱 패턴을 사용할 수 있습니다.
+
+* 관계형 데이터 구조가 복잡한 어플리케이션 상태를 유지하기 위해 매우 높은 성능이 필요한 경우
+* 어플리케이션 상태의 변경 사항과 특정 시점의 상태를 복원할 수 있는 기능에 대한 로그가 필요한 경우
+* 과거에 발생한 이벤트를 다시 적용하여 프로덕션 문제를 디버깅하는 경우
+
+## 실제 적용 사례
+
+* [Lmax 아키텍처](https://martinfowler.com/articles/lmax.html)
+
+## 크레딧
+
+* [마틴 파울러 - 이벤트 소싱](https://martinfowler.com/eaaDev/EventSourcing.html)
+* [이벤트 소싱에 대한 마이크로소프트의 문서](https://docs.microsoft.com/en-us/azure/architecture/patterns/event-sourcing)
+* [레퍼런스 3: 이벤트 소싱에 대한 소개](https://msdn.microsoft.com/en-us/library/jj591559.aspx)
+* [이벤트 소싱 패턴](https://docs.microsoft.com/en-us/azure/architecture/patterns/event-sourcing)


Test patch:
Repository: iluwatar/java-design-patterns
Issue: Update Checkstyle to 3.2.0
Labels: type: enhancement
epic: build issue
epic: dependencies

The project currently uses Checkstyle 3.1.0, but there is a newer version 3.2.0 available. According to dependabot's pull request https://github.com/iluwatar/java-design-patterns/pull/2449, the upgrade is not straightforward.

Acceptance criteria

- Checkstyle upgraded to 3.2.0
- Any build issues that arise have been resolved


Issue comments:
@iluwatar 
Here is a PR that I started:
[https://github.com/iluwatar/java-design-patterns/pull/2464](https://github.com/iluwatar/java-design-patterns/pull/2464)

No new source code added from my side. Just the code/class name/method formatting as per checkstyle and respective changes in pom.xml and suppressions.xml 

Can you review it?




Pull request review comments:

Patch that resolved the issue:
diff --git a/pom.xml b/pom.xml
index 8405ac144b2b..6ea0d2bbdb61 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,7 +45,7 @@
     <guice.version>5.1.0</guice.version>
     <system-lambda.version>1.1.0</system-lambda.version>
     <maven-surefire-plugin.version>3.0.0-M8</maven-surefire-plugin.version>
-    <maven-checkstyle-plugin.version>3.2.0</maven-checkstyle-plugin.version>
+    <maven-checkstyle-plugin.version>3.2.1</maven-checkstyle-plugin.version>
     <license-maven-plugin.version>4.1</license-maven-plugin.version>
     <urm-maven-plugin.version>2.1.1</urm-maven-plugin.version>
     <!-- SonarCloud -->


Test patch:
Repository: iluwatar/java-design-patterns
Issue: Broken linkage on Chinese localization document
Labels: type: bug
info: help wanted
info: good first issue
epic: documentation

Broken linkage [Java CI with Maven](https://github.com/iluwatar/java-design-patterns/workflows/Java%20CI%20with%20Maven/badge.svg) on the following Chinese localization README file.

https://github.com/iluwatar/java-design-patterns/blob/master/localization/zh/README.md


Issue comments:
Hello ! I am new in opensource and I am also familiar with java I want to use this skill in real-world project. can anyone help me too start this project or how can I solve this .
 
There is just a broken link in the mentioned document @Pawank06 I suppose it should be an easy fix.
> Hello ! I am new in opensource and I am also familiar with java I want to use this skill in real-world project. can anyone help me too start this project or how can I solve this .

You can fix it by updating the path from
`https://github.com/iluwatar/java-design-patterns/workflows/Java%20CI%20with%20Maven/badge.svg`
to
`https://github.com/iluwatar/java-design-patterns/workflows/Java%20CI/badge.svg`

Pull request review comments:

Patch that resolved the issue:
diff --git a/localization/zh/README.md b/localization/zh/README.md
index dcf8571b5764..6b810cd48e9a 100644
--- a/localization/zh/README.md
+++ b/localization/zh/README.md
@@ -4,7 +4,7 @@
 
 # 设计模式Java版
 
-![Java CI with Maven](https://github.com/iluwatar/java-design-patterns/workflows/Java%20CI%20with%20Maven/badge.svg) [](https://raw.githubusercontent.com/iluwatar/java-design-patterns/master/LICENSE.md)![License MIT](https://img.shields.io/badge/license-MIT-blue.svg) [](https://gitter.im/iluwatar/java-design-patterns?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)![Join the chat at https://gitter.im/iluwatar/java-design-patterns](https://badges.gitter.im/Join%20Chat.svg) [](https://sonarcloud.io/dashboard?id=iluwatar_java-design-patterns)![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=iluwatar_java-design-patterns&metric=alert_status)
+![Java CI with Maven](https://github.com/iluwatar/java-design-patterns/workflows/Java%20CI/badge.svg) [](https://raw.githubusercontent.com/iluwatar/java-design-patterns/master/LICENSE.md)![License MIT](https://img.shields.io/badge/license-MIT-blue.svg) [](https://gitter.im/iluwatar/java-design-patterns?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)![Join the chat at https://gitter.im/iluwatar/java-design-patterns](https://badges.gitter.im/Join%20Chat.svg) [](https://sonarcloud.io/dashboard?id=iluwatar_java-design-patterns)![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=iluwatar_java-design-patterns&metric=alert_status)
 
 # 介绍
 


Test patch:
Repository: iluwatar/java-design-patterns
Issue: Translation error
Labels: type: bug
epic: pattern
epic: web site
info: good first issue

![image](https://user-images.githubusercontent.com/39300225/154443661-c12f821f-5942-4903-b158-8c5450711ab8.png)


Issue comments:
Can you give more specific info about this bug or sth. ?
![image](https://user-images.githubusercontent.com/48951804/190575773-3b447290-fb39-4acf-a0ed-99145da97675.png)

This issue is free for taking again.
Can you specify more about this.!
@nairpranav331 It is a Chinese translation error.
Subtask of #2289 
I can fix this! Can I take it?
@iluwatar Can you check this please? 
#2470 

Pull request review comments:

Patch that resolved the issue:
diff --git a/localization/zh/abstract-factory/README.md b/localization/zh/abstract-factory/README.md
index 5241e31c7ba5..092d87624132 100644
--- a/localization/zh/abstract-factory/README.md
+++ b/localization/zh/abstract-factory/README.md
@@ -18,7 +18,7 @@ tag:
 
 真实世界例子
 
-> 要创建一个王国，我们需要具有共同主题的对象。 精灵王国需要精灵王，精灵城堡和精灵军队，而兽人王国需要兽王，精灵城堡和兽人军队。 王国中的对象之间存在依赖性。
+> 要创建一个王国，我们需要具有共同主题的对象。精灵王国需要精灵国王、精灵城堡和精灵军队，而兽人王国需要兽人国王、兽人城堡和兽人军队。王国中的对象之间存在依赖关系。
 
 通俗的说
 


Test patch:
Repository: iluwatar/java-design-patterns
Issue: Typo in README in Russian
Labels: type: bug
info: help wanted
info: good first issue
epic: translation

ускорить процесс разработк`у` -> ускорить процесс разработк`и`

Issue comments:

Pull request review comments:

Patch that resolved the issue:
diff --git a/localization/ru/README.md b/localization/ru/README.md
index a52020200830..89e4ddffc317 100644
--- a/localization/ru/README.md
+++ b/localization/ru/README.md
@@ -17,7 +17,7 @@
 Шаблоны проектирования - лучший метод для решения проблем, возникающих
 во время разработки приложения или системы.
 
-Шаблоны проектирования могут ускорить процесс разработку путем предоставления
+Шаблоны проектирования могут ускорить процесс разработки путем предоставления
 проверенных моделей/парадигм.
 
 Использование шаблонов повторно поможет избежать частых проблем, из-за которых


Test patch:
Repository: iluwatar/java-design-patterns
Issue: Wrong generic type for deques in command README
Labels: type: bug
info: help wanted
epic: documentation

Hi, inside the README.md for the command pattern the Wizard class presents these two instance variables:
```java
private final Deque<Command> undoStack = new LinkedList<>();
private final Deque<Command> redoStack = new LinkedList<>();
```

The generic type for these deques should be ```Runnable``` as it is in the Wizard class under src directory

Issue comments:
can you assign me this issue?

I am interest in solve this issue?
I'm new to open-sourcing and I have no clue about what I should be doing. Can anyone guide me? I have basic knowledge of java  
let me know in which way I can help you.
@jaswanthg76 https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute
Hey I can help in this issue, provide me  the information of issue

Hi @vatsasiddhartha, the problem has actually been solved and the fix has been merged

Pull request review comments:

Patch that resolved the issue:
diff --git a/command/README.md b/command/README.md
index 476edc47af39..a3b863b78cbe 100644
--- a/command/README.md
+++ b/command/README.md
@@ -40,8 +40,8 @@ Here's the sample code with wizard and goblin. Let's start from the `Wizard` cla
 @Slf4j
 public class Wizard {
 
-  private final Deque<Command> undoStack = new LinkedList<>();
-  private final Deque<Command> redoStack = new LinkedList<>();
+  private final Deque<Runnable> undoStack = new LinkedList<>();
+  private final Deque<Runnable> redoStack = new LinkedList<>();
 
   public Wizard() {}
 
diff --git a/localization/zh/command/README.md b/localization/zh/command/README.md
index a36bddfa9db1..9c34bca0e08e 100644
--- a/localization/zh/command/README.md
+++ b/localization/zh/command/README.md
@@ -34,8 +34,8 @@ public class Wizard {
 
   private static final Logger LOGGER = LoggerFactory.getLogger(Wizard.class);
 
-  private final Deque<Command> undoStack = new LinkedList<>();
-  private final Deque<Command> redoStack = new LinkedList<>();
+  private final Deque<Runnable> undoStack = new LinkedList<>();
+  private final Deque<Runnable> redoStack = new LinkedList<>();
 
   public Wizard() {}
 


Test patch:
Repository: iluwatar/java-design-patterns
Issue: Translate the README file of the callback pattern to Korean & Place it under localization/ko/callback
Labels: type: feature
status: stale
epic: translation

### #2282 Translate the README file of the callback pattern to Korean & Place it under localization/ko/callback

Issue comments:
Subtask of https://github.com/iluwatar/java-design-patterns/issues/2282
Pls assign it to me i will do it
This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions.


Pull request review comments:

Patch that resolved the issue:
diff --git a/localization/ko/callback/README.md b/localization/ko/callback/README.md
new file mode 100644
index 000000000000..b11c6dea68e7
--- /dev/null
+++ b/localization/ko/callback/README.md
@@ -0,0 +1,71 @@
+---  
+title: Callback  
+category: Idiom  
+language: ko  
+tag:
+- Reactive
+---  
+
+## 의도
+
+콜백은 다른 코드에 인자로 넘어가는 실행 가능한 코드의 일부로, 인자는 적절한 시점에 다시 호출 (실행) 된다.
+
+## 설명
+
+실제 예제
+
+> 실행 항목이 완료되었다는 사실을 고지받아야 할 때, 콜백 함수를 실행 항목을 담당하는 함수에게 넘겨주고 다시 호출할 때까지 기다린다.
+
+명확하게는
+
+> 콜백은 실행 함수에 넘겨져서 정의된 순간에 호출되는 함수이다.
+
+위키피디아의 정의는
+
+> 컴퓨터 프로그래밍에서, "사후-호출" 함수로도 알려진 콜백은, 다른 코드에 인자로 넘겨지는 실행 가능한 코드를 말한다;  
+> 다른 코드는 정해진 시간에 인자를 다시 호출 (실행) 할 것으로 기대되어진다.
+
+**코드 예제**
+
+콜백은 하나의 메서드를 가지고 있는 단순한 인터페이스이다.
+
+```java  
+public interface Callback {  
+  
+  void call();}  
+```  
+
+다음으로 작업의 실행이 끝나고 나서 콜백을 실행시킬 Task 클래스를 정의한다.
+
+```java  
+public abstract class Task {  
+  
+  final void executeWith(Callback callback) {    execute();    Optional.ofNullable(callback).ifPresent(Callback::call);  }  
+  public abstract void execute();}  
+  
+@Slf4j  
+public final class SimpleTask extends Task {  
+  
+  @Override  public void execute() {    LOGGER.info("우선순위의 작업을 마친 이후 콜백 메서드를 호출한다.");  
+  }}  
+```  
+
+마지막으로, 다음은 작업을 실행한 후 마쳤을 때 콜백을 받는 방법의 예시이다.
+
+```java  
+    var task = new SimpleTask();    task.executeWith(() -> LOGGER.info("완료되었음."));  
+```  
+
+## 클래스 다이어그램
+
+![alt text](./etc/callback.png "callback")
+
+## 적용
+
+콜백 패턴을 사용할 수 있을 때는
+
+* 동기 또는 비동기적인 임의의 행위가 정의된 어떠한 행위의 실행 이후에 수행되어야 할 때이다.
+
+## 실질적인 예시들
+
+* [CyclicBarrier](http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/CyclicBarrier.html#CyclicBarrier%28int,%20java.lang.Runnable%29) 생성자는 장벽이 넘어질 때마다 발동되는 콜백을 인자로 받을 수 있다.
\ No newline at end of file


Test patch:
Repository: iluwatar/java-design-patterns
Issue: Gateway pattern
Labels: epic: pattern
type: feature
status: stale

https://stackoverflow.com/questions/4422211/what-is-the-difference-between-facade-and-gateway-design-patterns

Issue comments:
Hi @iluwatar! can I work on this issue?
Please go ahead @kelumsampath 
Hello @iluwatar , I can work on this pattern if there are no takers :-)

All right, it's yours @shibicr93 
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Hi, I would like to help out. Could I work on this issue?
Could you review Pull Request https://github.com/iluwatar/java-design-patterns/pull/2734?
I've implemented the gateway pattern based on my own interpretation. By the way, this is my first PR in an open-source project so I may need some advice and know where I can enhance my code.
This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions.


Pull request review comments:

Patch that resolved the issue:
diff --git a/gateway/README.md b/gateway/README.md
index f1152ec6cfb4..9307b5d1d0f9 100644
--- a/gateway/README.md
+++ b/gateway/README.md
@@ -3,7 +3,6 @@ title: Gateway
 category: Structural
 language: en
 tag:
-- Gang of Four
 - Decoupling
 
 ---
@@ -38,7 +37,7 @@ The main class in our example is the `ExternalService` that contains items.
 class ExternalServiceA implements Gateway {
     @Override
     public void execute() throws Exception {
-        System.out.println("Executing Service A");
+        LOGGER.info("Executing Service A");
         // Simulate a time-consuming task
         Thread.sleep(1000);
     }
@@ -50,7 +49,7 @@ class ExternalServiceA implements Gateway {
 class ExternalServiceB implements Gateway {
     @Override
     public void execute() throws Exception {
-        System.out.println("Executing Service B");
+        LOGGER.info("Executing Service B");
         // Simulate a time-consuming task
         Thread.sleep(1000);
     }
@@ -62,7 +61,7 @@ class ExternalServiceB implements Gateway {
 class ExternalServiceC implements Gateway {
     @Override
     public void execute() throws Exception {
-        System.out.println("Executing Service C");
+        LOGGER.info("Executing Service C");
         // Simulate a time-consuming task
         Thread.sleep(1000);
     }
@@ -100,7 +99,7 @@ public class App {
             serviceB.execute();
             serviceC.execute();
         } catch (ThreadDeath e) {
-            System.out.println("Interrupted!" + e);
+            LOGGER.info("Interrupted!" + e);
             throw e;
         }
     }
diff --git a/pom.xml b/pom.xml
index 8af7ff7ae8a2..afa454245f25 100644
--- a/pom.xml
+++ b/pom.xml
@@ -212,6 +212,7 @@
     <module>health-check</module>
     <module>notification</module>
     <module>single-table-inheritance</module>
+    <module>gateway</module>
   </modules>
   <repositories>
     <repository>


Test patch:
Repository: iluwatar/java-design-patterns
Issue: Upgrade jackson-databind
Labels: info: good first issue
epic: dependencies

The version bump of jackson-databind seems to need some work. See https://github.com/iluwatar/java-design-patterns/pull/2867

Acceptance criteria
- jackson-databind successfully upgraded to the latest version


Issue comments:
Hi @iluwatar ,
Upgrading version of `jackson-databind` to 2.17.0 incompatible with current versions of `jackson-core` in the project which I have found 2.13.4 and 2.15.4. So we also have to upgrade the `jackson-core`.
I have seen that only upgrading `jackson-databind` to 2.17.0 internally using 2.13.4.

![jackson-1](https://github.com/iluwatar/java-design-patterns/assets/101238933/d2e7a3be-1088-40ea-be5f-abb12c57d519)

So I have added one extra dependency in project to upgrade the `jackson:core` to 2.17.0.

![dynamic-proxy-dependency-list](https://github.com/iluwatar/java-design-patterns/assets/101238933/84a31efb-6cb5-41bb-bbdb-d438c2f30e34)

After this all the testcase passed in `dynamic-proxy` and `event-sourcing`

![dynamic-proxy-test-result](https://github.com/iluwatar/java-design-patterns/assets/101238933/fa196dde-aeed-4163-8bb0-6e6ef2c61d17)
![event-sourcing-test-result](https://github.com/iluwatar/java-design-patterns/assets/101238933/262ebd70-9d39-4962-84aa-7a2526165832)

If this is acceptable then I can raise a pr.
cc: @iluwatar 
Hey, sounds good @surjendu104 I'm looking forward to receiving the PR 👍🏻 
Hi @iluwatar I have made the pr. ps review it. #2885 

Pull request review comments:

Patch that resolved the issue:
diff --git a/dynamic-proxy/pom.xml b/dynamic-proxy/pom.xml
index 0ec69f0bcc6e..d308c7885993 100644
--- a/dynamic-proxy/pom.xml
+++ b/dynamic-proxy/pom.xml
@@ -35,10 +35,15 @@
   </parent>
   <artifactId>dynamic-proxy</artifactId>
   <dependencies>
+    <dependency>
+        <groupId>com.fasterxml.jackson.core</groupId>
+        <artifactId>jackson-core</artifactId>
+        <version>2.17.0</version>
+    </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-databind</artifactId>
-      <version>2.16.1</version>
+      <version>2.17.0</version>
     </dependency>
     <dependency>
       <groupId>org.springframework</groupId>
diff --git a/event-sourcing/pom.xml b/event-sourcing/pom.xml
index 569a5fceebd8..19f6feb8f7a7 100644
--- a/event-sourcing/pom.xml
+++ b/event-sourcing/pom.xml
@@ -39,9 +39,15 @@
       <artifactId>junit-jupiter-engine</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+        <groupId>com.fasterxml.jackson.core</groupId>
+        <artifactId>jackson-core</artifactId>
+        <version>2.17.0</version>
+    </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-databind</artifactId>
+      <version>2.17.0</version>
     </dependency>
   </dependencies>
   <build>


Test patch:
Repository: mockito/mockito
Issue: Source files should not be put in binary JAR 

Source files (`*.java`) should not be put into binary `mockito-core.jar`. It stupefies Idea to show decompiled file even when source jar is available.


Issue comments:
Duplicate of #28
Though the team thought it was better for project that don't rely on maven like source repositories.
cc @szczepiq 


Pull request review comments:

Patch that resolved the issue:
diff --git a/build.gradle b/build.gradle
index 94ebdaf3cc..3ed8f310c0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -71,7 +71,7 @@ def licenseFiles = copySpec {
 
 jar {
     baseName = 'mockito-core'
-    from(sourceSets.main.allSource)
+    from(sourceSets.main.output)
     from(zipTree("lib/repackaged/cglib-and-asm-1.0.jar")) {
         exclude 'META-INF/MANIFEST.MF'
     }


Test patch:
Repository: mockito/mockito
Issue: @Captor javadoc contains a wrong call example

In the javadoc of `@Captor`:

```
verify(mock.doStuff(captor.capture()));
```

which is incorrect.


Issue comments:
Cool thanks :)


Pull request review comments:

Patch that resolved the issue:
diff --git a/src/org/mockito/Captor.java b/src/org/mockito/Captor.java
index 1a081a2513..225bf700f2 100644
--- a/src/org/mockito/Captor.java
+++ b/src/org/mockito/Captor.java
@@ -22,7 +22,7 @@
  *
  *    &#64;Test public void shouldDoSomethingUseful() {
  *       //...
- *       verify(mock.doStuff(captor.capture()));
+ *       verify(mock).doStuff(captor.capture());
  *       assertEquals("foo", captor.getValue());
  *    }
  * }


Test patch:
Repository: mockito/mockito
Issue: Typo in documentation

Very minor thing, there's an extra "at" (@) in the documentation.

If you go to http://site.mockito.org/mockito/docs/current/org/mockito/Mockito.html#33

![image](https://cloud.githubusercontent.com/assets/338917/8634099/6c7f5264-27b8-11e5-93d9-98b725c9f749.png)


Issue comments:

Pull request review comments:

Patch that resolved the issue:
diff --git a/src/main/java/org/mockito/Mockito.java b/src/main/java/org/mockito/Mockito.java
index 1e833596a2..72e4b28c08 100644
--- a/src/main/java/org/mockito/Mockito.java
+++ b/src/main/java/org/mockito/Mockito.java
@@ -1051,7 +1051,7 @@
  * such as <code>&#064;{@link Mock}</code>, <code>&#064;{@link Spy}</code>, <code>&#064;{@link InjectMocks}</code>, etc.
  *
  * <ul>
- *     <li>Annotating the JUnit test class with a <code>&#064;{@link org.junit.runner.RunWith}(&#064;{@link MockitoJUnitRunner}.class)</code></li>
+ *     <li>Annotating the JUnit test class with a <code>&#064;{@link org.junit.runner.RunWith}({@link MockitoJUnitRunner}.class)</code></li>
  *     <li>Invoking <code>{@link MockitoAnnotations#initMocks(Object)}</code> in the <code>&#064;{@link org.junit.Before}</code> method</li>
  * </ul>
  *


Test patch: