dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Byron4j (GitHub) <git...@apache.org>
Subject [GitHub] [dubbo] Byron4j opened issue #5679: why org.apache.dubbo.config.AbstractInterfaceConfig#setApplication is `@Deprecated`?
Date Fri, 17 Jan 2020 03:35:24 GMT
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository
and believe that this is not a duplicate.
- [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this
repository and believe that this is not a duplicate.

### Environment

* Dubbo version: 2.7.5
* Operating System version: Win10
* Java version: JDK8

### Steps to reproduce this issue

1. use dubbo API show provider application
ServiceConfig<GreetingsService> service = new ServiceConfig<>();
        service.setApplication(new ApplicationConfig("first-dubbo-provider"));
3. but find this method is annotated by `@Deprecated`

If i want to show a demo with dubbo API to my students, where can i find a method which
with no `@Deprecated` ?


Pls. provide [GitHub address] to reproduce this issue.

### Expected Result

What do you expected from the above steps?

### Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

Just put your stack trace here!

[ Full content available at: https://github.com/apache/dubbo/issues/5679 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
View raw message