Before 4.2 the MvcUriComponentsBuilder exposed only static factory
methods and therefore there should be no reason for it to extend
UriComponentsBuilder (design oversight). It's also highly unlikely
for application code to treat MvcUriCB as UriCB since there is no
need and no way to obtain an instance (constructor is protected).
This change removes the base class declaration from MvcUriCB.
Issue: SPR-12617
@ -122,14 +122,6 @@ public class MvcUriComponentsBuilder extends UriComponentsBuilder {
@@ -122,14 +122,6 @@ public class MvcUriComponentsBuilder extends UriComponentsBuilder {
@ -457,7 +449,7 @@ public class MvcUriComponentsBuilder extends UriComponentsBuilder {
@@ -457,7 +449,7 @@ public class MvcUriComponentsBuilder extends UriComponentsBuilder {
@ -474,7 +466,7 @@ public class MvcUriComponentsBuilder extends UriComponentsBuilder {
@@ -474,7 +466,7 @@ public class MvcUriComponentsBuilder extends UriComponentsBuilder {
Assert.notNull(wac,"Cannot lookup handler method mappings without WebApplicationContext");
try{
@ -612,11 +604,6 @@ public class MvcUriComponentsBuilder extends UriComponentsBuilder {
@@ -612,11 +604,6 @@ public class MvcUriComponentsBuilder extends UriComponentsBuilder {