[jira] [Updated] (KAFKA-2322) Use Java 7 features to improve code quality

2015-07-09 Thread Ismael Juma (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismael Juma updated KAFKA-2322:
---
Status: Patch Available  (was: Open)

> Use Java 7 features to improve code quality
> ---
>
> Key: KAFKA-2322
> URL: https://issues.apache.org/jira/browse/KAFKA-2322
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Ismael Juma
>Assignee: Ismael Juma
> Attachments: KAFKA-2322.patch
>
>
> Once KAFKA-2316 is merged, we should take advantage of Java 7 features that 
> improve code quality (readability, safety, etc.).
> Examples:
> * Diamond operator
> * Try with resources
> * Multi-catch
> * String in switch (maybe)
> * Suppressed exceptions (maybe)
> This issue is for simple and mechanical improvements. More complex changes  
> should be considered in separate issues (using nio.2, new concurrency 
> classes, etc.).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KAFKA-2322) Use Java 7 features to improve code quality

2015-07-09 Thread Ismael Juma (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismael Juma updated KAFKA-2322:
---
Attachment: KAFKA-2322.patch

> Use Java 7 features to improve code quality
> ---
>
> Key: KAFKA-2322
> URL: https://issues.apache.org/jira/browse/KAFKA-2322
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Ismael Juma
>Assignee: Ismael Juma
> Attachments: KAFKA-2322.patch
>
>
> Once KAFKA-2316 is merged, we should take advantage of Java 7 features that 
> improve code quality (readability, safety, etc.).
> Examples:
> * Diamond operator
> * Try with resources
> * Multi-catch
> * String in switch (maybe)
> * Suppressed exceptions (maybe)
> This issue is for simple and mechanical improvements. More complex changes  
> should be considered in separate issues (using nio.2, new concurrency 
> classes, etc.).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KAFKA-2322) Use Java 7 features to improve code quality

2015-09-01 Thread Ismael Juma (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismael Juma updated KAFKA-2322:
---
Status: In Progress  (was: Patch Available)

> Use Java 7 features to improve code quality
> ---
>
> Key: KAFKA-2322
> URL: https://issues.apache.org/jira/browse/KAFKA-2322
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Ismael Juma
>Assignee: Ismael Juma
> Attachments: KAFKA-2322.patch
>
>
> Once KAFKA-2316 is merged, we should take advantage of Java 7 features that 
> improve code quality (readability, safety, etc.).
> Examples:
> * Diamond operator
> * Try with resources
> * Multi-catch
> * String in switch (maybe)
> * Suppressed exceptions (maybe)
> This issue is for simple and mechanical improvements. More complex changes  
> should be considered in separate issues (using nio.2, new concurrency 
> classes, etc.).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)