jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Gond┼ża <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-962: Do not override provider methods (#818)
Date Fri, 17 Jul 2015 04:05:28 GMT
@nacx, Looking back at the amount of boilerplate this generates, keeping the `@Provider` annotation
in parent class is a must. Refactoring:

```java
@Provide
public X provideX() { ... }
```

into

```java
@Provide
public final X guiceProvideX() { ... }
public X provideX() { ... }
```
 
should not break clients and limit the scope of the change to parent classes.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/818#issuecomment-122164856
Mime
View raw message