Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
mockito.29157
fix-incompatible-types.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-incompatible-types.patch of Package mockito.29157
diff --git a/src/org/mockito/internal/creation/instance/ObjenesisInstantiator.java b/src/org/mockito/internal/creation/instance/ObjenesisInstantiator.java index 1ca0003..15172bd 100644 --- a/src/org/mockito/internal/creation/instance/ObjenesisInstantiator.java +++ b/src/org/mockito/internal/creation/instance/ObjenesisInstantiator.java @@ -11,6 +11,6 @@ class ObjenesisInstantiator implements Instantiator { private final ObjenesisStd objenesis = new ObjenesisStd(new GlobalConfiguration().enableClassCache()); public <T> T newInstance(Class<T> cls) { - return objenesis.newInstance(cls); + return (T) objenesis.newInstance(cls); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor