Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling #2041

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
b5168ba
spelling: archaius
jsoref Jun 26, 2022
37758be
spelling: async
jsoref May 21, 2023
5bf2490
spelling: atask
jsoref Jun 26, 2022
a6051ac
spelling: bltb
jsoref Jun 26, 2022
ed14a77
spelling: circuit
jsoref Jun 26, 2022
1cee4f3
spelling: collapsers
jsoref Jun 26, 2022
187bdcb
spelling: command
jsoref Jun 26, 2022
c330fcb
spelling: concurrency
jsoref Jun 26, 2022
28778ee
spelling: conveniently
jsoref Jun 26, 2022
fa3f6c2
spelling: doing
jsoref Jun 26, 2022
c3ecfc0
spelling: dynamically
jsoref Jun 26, 2022
361e3c0
spelling: eligible
jsoref Jun 26, 2022
83b89ae
spelling: execute
jsoref Jun 26, 2022
32e46bc
spelling: execution
jsoref Jun 26, 2022
30d4733
spelling: fallback
jsoref Jun 26, 2022
661ad4a
spelling: github
jsoref Jun 26, 2022
8e921f8
spelling: hesitate
jsoref Jun 26, 2022
fd206a0
spelling: hystrix
jsoref Jun 26, 2022
b030368
spelling: increment
jsoref Jun 26, 2022
c6b934d
spelling: initialization
jsoref Jun 26, 2022
34deb88
spelling: interface
jsoref Jun 26, 2022
e7700a5
spelling: into
jsoref May 21, 2023
c705b94
spelling: isn't
jsoref May 21, 2023
1cc6bc4
spelling: leaks
jsoref Jun 26, 2022
a01f14a
spelling: milliseconds
jsoref Jun 26, 2022
3312d8c
spelling: name
jsoref Jun 26, 2022
80c8d08
spelling: netflix
jsoref Jun 26, 2022
34ad2b5
spelling: observable
jsoref Jun 26, 2022
8bcafc8
spelling: oops
jsoref May 21, 2023
dcfe438
spelling: perspective
jsoref Jun 26, 2022
f5397f9
spelling: request
jsoref May 21, 2023
0efdd0b
spelling: semaphore
jsoref Jun 26, 2022
1debe49
spelling: synchronously
jsoref Jun 26, 2022
e436516
spelling: the
jsoref Jun 26, 2022
59ccdc5
spelling: their
jsoref Jun 26, 2022
280d6e4
spelling: through
jsoref Jun 26, 2022
17899fe
spelling: transitive
jsoref Jun 26, 2022
1c6985a
spelling: unbridge
jsoref May 21, 2023
690809d
spelling: version
jsoref Jun 26, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

### Version 1.5.8 ([Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.netflix.hystrix%22%20AND%20v%3A%221.5.8%22), [Bintray](https://bintray.com/netflixoss/maven/Hystrix/1.5.8/)) ###

* [Pull 1419](https://github.com/Netflix/Hystrix/pull/1419) When user has not opted in to letting core/maximum threadpools diverge, ensure dynamic updates to coreSize apply to both
* [Pull 1419](https://github.com/Netflix/Hystrix/pull/1419) When user has not opted into letting core/maximum threadpools diverge, ensure dynamic updates to coreSize apply to both
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in to -> into changes have been quite controversial.

Happy to drop this.


Some projects don't like changing changelogs...

* [Pull 1415](https://github.com/Netflix/Hystrix/pull/1415) Fix spelling mistake in comments. Thanks @starlight36 !

### Version 1.5.7 ([Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.netflix.hystrix%22%20AND%20v%3A%221.5.7%22), [Bintray](https://bintray.com/netflixoss/maven/Hystrix/1.5.7/)) ###
Expand All @@ -86,7 +86,7 @@
* [Pull 1385](https://github.com/Netflix/Hystrix/pull/1385) Bump jmh Gradle plugin to 0.3.1. Thanks @monkey-mas!
* [Pull 1382](https://github.com/Netflix/Hystrix/pull/1382) Bump jmh to 1.15. Thanks @monkey-mas!
* [Pull 1380](https://github.com/Netflix/Hystrix/pull/1380) Add jmh test for open-circuit case
* [Pull 1376](https://github.com/Netflix/Hystrix/pull/1376) Clean up documentation around thread keep-alive. Thanks @bitb !
* [Pull 1376](https://github.com/Netflix/Hystrix/pull/1376) Clean up documentation around thread keep-alive. Thanks @bltb !
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

notably, the credit here was wrong...

* [Pull 1375](https://github.com/Netflix/Hystrix/pull/1375) Remove cancelled tasks from threadpool queue
* [Pull 1371](https://github.com/Netflix/Hystrix/pull/1371) Allow core and maximum size of threadpools to diverge.

Expand Down Expand Up @@ -458,7 +458,7 @@ This version should be the exact same as 1.4.20, but suffered problems during th
* [Pull 754](https://github.com/Netflix/Hystrix/pull/754) Only fire onFallbackStart/onFallbackError hooks when a user-supplied fallback is invoked
* [Pull 753](https://github.com/Netflix/Hystrix/pull/753) Add timeout to dashboard for semaphore commands
* [Pull 750](https://github.com/Netflix/Hystrix/pull/750) First pass at jmh performance benchmarking
* [Pull 748](https://github.com/Netflix/Hystrix/pull/748) Fix return value of HystrixCircuiBreakerImpl.isOpen when it loses a race to open a circuit
* [Pull 748](https://github.com/Netflix/Hystrix/pull/748) Fix return value of HystrixCircuitBreakerImpl.isOpen when it loses a race to open a circuit
* [Pull 746](https://github.com/Netflix/Hystrix/pull/746) Improve Javadoc for HystrixCommandProperties.Setter


Expand All @@ -469,7 +469,7 @@ This version should be the exact same as 1.4.20, but suffered problems during th
* [Pull 741](https://github.com/Netflix/Hystrix/pull/741) Bugfix to java.lang.Error handling
* [Pull 735](https://github.com/Netflix/Hystrix/pull/735) (Javanica) BatchHystrixCommand
* [Pull 739](https://github.com/Netflix/Hystrix/pull/739) Mark some java.lang.Errors as unrecoverable and never trigger fallback
* [Pull 738](https://github.com/Netflix/Hystrix/pull/738) Filter out thread pools with no thread activity from hystrics-metrics-event-stream
* [Pull 738](https://github.com/Netflix/Hystrix/pull/738) Filter out thread pools with no thread activity from hystrix-metrics-event-stream
* [Pull 732](https://github.com/Netflix/Hystrix/pull/732) Comment out flaky unit test

### Version 1.4.3 ([Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.netflix.hystrix%22%20AND%20v%3A%221.4.3%22), [Bintray](https://bintray.com/netflixoss/maven/Hystrix/1.4.3/)) ###
Expand Down Expand Up @@ -497,7 +497,7 @@ This version adds HystrixObservableCommand and implements both it and HystrixCom
A HystrixObservableCommand allows for fully non-blocking commands that can be composed as part of a larger Observable chain. See [the wiki](https://github.com/Netflix/Hystrix/wiki/How-To-Use#reactive-commands) for more details on usage. Here's an example (using Java 8):

```java
public class ObservableHttpCommand extends HystrixObsverableCommand<BackendResponse> {
public class ObservableHttpCommand extends HystrixObservableCommand<BackendResponse> {

@Override
protected Observable<BackendResponse> construct() {
Expand Down Expand Up @@ -564,7 +564,7 @@ NOTE: This code is believed to be production worthy. As of now, there are no kn
* [Pull 647](https://github.com/Netflix/Hystrix/pull/647) Tie command property to thread interrupt
* [Pull 645](https://github.com/Netflix/Hystrix/pull/645) Remove incorrect reference to async timeout
* [Pull 644](https://github.com/Netflix/Hystrix/pull/644) Add RequestCollapser metrics to Yammer Metrics Publisher
* [Pull 643](https://github.com/Netflix/Hystrix/pull/643) Stress-test HystrixObservalbeCollapser
* [Pull 643](https://github.com/Netflix/Hystrix/pull/643) Stress-test HystrixObservableCollapser
* [Pull 642](https://github.com/Netflix/Hystrix/pull/642) Fix flakiness of HystrixObservableCommandTest.testRejectedViaSemaphoreIsolation
* [Pull 641](https://github.com/Netflix/Hystrix/pull/641) Fix flakiness of testSemaphorePermitsInUse
* [Pull 608](https://github.com/Netflix/Hystrix/pull/608) Make HystrixObservableCommand handle both sync and async exceptions
Expand Down Expand Up @@ -596,7 +596,7 @@ _NOTE: This code is believed to be production worthy but is still a "Release Can
* [Pull 527](https://github.com/Netflix/Hystrix/pull/527) Creating a synthetic exception in the semaphore execution and short-circuited case
* [Pull 526](https://github.com/Netflix/Hystrix/pull/526) Move onRunSuccess/onRunError and thread-pool book-keeping to Hystrix thread
* [Pull 524](https://github.com/Netflix/Hystrix/pull/524) Change calls from getExecutedCommands() to getAllExecutedCommands()
* [Pull 516](https://github.com/Netflix/Hystrix/pull/516) Updated HystrixServoMetricsPublisher initalization of singleton
* [Pull 516](https://github.com/Netflix/Hystrix/pull/516) Updated HystrixServoMetricsPublisher initialization of singleton
* [Pull 489](https://github.com/Netflix/Hystrix/pull/489) Javanica: Request Caching
* [Pull 512](https://github.com/Netflix/Hystrix/pull/512) Add execution hook Javadoc
* [Pull 511](https://github.com/Netflix/Hystrix/pull/511) Fix missing onComplete hook call when command short-circuits and missing onRunSuccess hook call in thread-timeout case
Expand All @@ -613,7 +613,7 @@ _NOTE: This code is believed to be production worthy but is still a "Release Can
* [Pull 449](https://github.com/Netflix/Hystrix/pull/449) Move thread completion bookkeeping to end of chain
* [Pull 447](https://github.com/Netflix/Hystrix/pull/447) Synchronous queue fix
* [Pull 376](https://github.com/Netflix/Hystrix/pull/376) Javanica README cleanup
* [Pull 378](https://github.com/Netflix/Hystrix/pull/378) Exection hook call sequences (based on work submitted in [Pull 327](https://github.com/Netflix/Hystrix/pull/327))
* [Pull 378](https://github.com/Netflix/Hystrix/pull/378) Execution hook call sequences (based on work submitted in [Pull 327](https://github.com/Netflix/Hystrix/pull/327))
* [Pull 374](https://github.com/Netflix/Hystrix/pull/374) RequestBatch logging
* [Pull 371](https://github.com/Netflix/Hystrix/pull/371) Defer creation of IllegalStateException in collapser flow (based on work submitted in [Pull 264](https://github.com/Netflix/Hystrix/pull/264))
* [Pull 369](https://github.com/Netflix/Hystrix/pull/369) Added basic auth to Hystrix Dashboard (based on work submitted in [Pull 336](https://github.com/Netflix/Hystrix/pull/336))
Expand Down Expand Up @@ -788,7 +788,7 @@ Here is a very basic example using Java 8 to make an HTTP call via Netty and rec

### Version 1.3.11 ([Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.netflix.hystrix%22%20AND%20v%3A%221.3.11%22)) ###

* We'll ignore this release ever happened. Exact same binary as 1.3.10. (It helps to push code to Github before releasing.)
* We'll ignore this release ever happened. Exact same binary as 1.3.10. (It helps to push code to GitHub before releasing.)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

brand


### Version 1.3.10 ([Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.netflix.hystrix%22%20AND%20v%3A%221.3.10%22)) ###

Expand Down Expand Up @@ -883,7 +883,7 @@ This release is a major refactoring of the Hystrix codebase. To assert correctne

### Version 1.2.16 ([Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.netflix.hystrix%22%20AND%20v%3A%221.2.16%22)) ###

* [Pull 132](https://github.com/Netflix/Hystrix/pull/132) Add `with-context` macro for conviently wrapping collapsers in thier own context
* [Pull 132](https://github.com/Netflix/Hystrix/pull/132) Add `with-context` macro for conveniently wrapping collapsers in their own context
* [Pull 136](https://github.com/Netflix/Hystrix/pull/136) Fixed the mock stream
* [Pull 137](https://github.com/Netflix/Hystrix/pull/137) Limit scope of CurrentThreadExecutingCommand

Expand Down Expand Up @@ -977,12 +977,12 @@ See the module README for more information: https://github.com/Netflix/Hystrix/t
### Version 1.1.7 ([Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.netflix.hystrix%22%20AND%20v%3A%221.1.7%22)) ###

* [Pull 67](https://github.com/Netflix/Hystrix/pull/67) Unit tests for request log and checked exceptions
* [Pull 66](https://github.com/Netflix/Hystrix/pull/66) Making provided scope transtive
* [Pull 66](https://github.com/Netflix/Hystrix/pull/66) Making provided scope transitive
* [Pull 65](https://github.com/Netflix/Hystrix/pull/65) Fixed gitignore definition of build output directories
* [Issue 63](https://github.com/Netflix/Hystrix/issues/63) Add "throws Exception" to HystrixCommand run() method
* [Pull 62](https://github.com/Netflix/Hystrix/pull/62) applying js fixes to threadPool ui
* [Pull 61](https://github.com/Netflix/Hystrix/pull/61) Request log with timeouts
* [Issue 55](https://github.com/Netflix/Hystrix/issues/55) HysrixRequestLog: Missing Events and Time on Timeouts
* [Issue 55](https://github.com/Netflix/Hystrix/issues/55) HystrixRequestLog: Missing Events and Time on Timeouts
* [Issue 20](https://github.com/Netflix/Hystrix/issues/20) TotalExecutionTime not tracked on queue()
* [Pull 57](https://github.com/Netflix/Hystrix/pull/57) Dashboard js fix
* [Issue 39](https://github.com/Netflix/Hystrix/issues/39) HystrixPlugins Bootstrapping Problem - Race Conditions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

Functions for defining and executing Hystrix dependency commands and collapsers.

The definition of commands and collapers is separated from their instantiation and execution.
The definition of commands and collapsers is separated from their instantiation and execution.
They are represented as plain Clojure maps (see below) which are later instantiated into
functional HystrixCommand or HystrixCollapser instances. defcommand and defcollapser macros
are provided to assist in defining these maps.
Expand Down Expand Up @@ -166,7 +166,7 @@
This is your escape hatch into raw Hystrix. Please see additional notes about :init-fn
above. They apply to collapsers as well.

The com.netflix.hystric.core/defcollapser macro is a helper for defining this map and storing it
The com.netflix.hystrix.core/defcollapser macro is a helper for defining this map and storing it
in a callable var.
"
(:require [clojure.set :as set])
Expand Down Expand Up @@ -299,7 +299,7 @@
:run-fn and :fallback-fn.

It's occasionally useful, especially for fallbacks, to base the result on the state of
the comand. The fallback might vary based on whether it was triggered by an application
the command. The fallback might vary based on whether it was triggered by an application
error versus a timeout.

Note: As always with dynamic vars be careful about scoping. This binding only holds for
Expand Down Expand Up @@ -494,7 +494,7 @@
; The search collapser is now defined. It has a collapser key of \"my-namespace/search\".
; This is used for configuration and metrics.

; Syncrhonously execute the search collapser
; Synchronously execute the search collapser
(search \"The Hudsucker Proxy\")
;=> [... vector of results ...]

Expand Down Expand Up @@ -542,9 +542,9 @@
it provides.

See:
com.neflix.hystrix.core/normalize
com.neflix.hystrix.core/execute
com.neflix.hystrix.core/queue
com.netflix.hystrix.core/normalize
com.netflix.hystrix.core/execute
com.netflix.hystrix.core/queue
"
{:arglists '[[defcommand-var & args]
[defcollapser-var & args]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ public class ConfigurableCodaHaleMetricFilterTest {

private Metric metric = mock(Metric.class);

private final static DynamicPropertyFactory archiausPropertyFactory = mock(DynamicPropertyFactory.class);
private final static DynamicPropertyFactory archaiusPropertyFactory = mock(DynamicPropertyFactory.class);

private static final DynamicBooleanProperty DYNAMIC_BOOLEAN_TRUE = mock(DynamicBooleanProperty.class);
private static final DynamicBooleanProperty DYNAMIC_BOOLEAN_FALSE = mock(DynamicBooleanProperty.class);

@BeforeClass
public static void initialiseMocks()
{
when(archiausPropertyFactory.getBooleanProperty(any(String.class), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_FALSE);
when(archiausPropertyFactory.getBooleanProperty(eq("this.metric.is.allowed"), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_TRUE);
when(archaiusPropertyFactory.getBooleanProperty(any(String.class), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_FALSE);
when(archaiusPropertyFactory.getBooleanProperty(eq("this.metric.is.allowed"), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_TRUE);
when(DYNAMIC_BOOLEAN_TRUE.get()).thenReturn(true);
when(DYNAMIC_BOOLEAN_FALSE.get()).thenReturn(false);
}
Expand All @@ -63,32 +63,32 @@ public void assertMetricsNotTouched()
@Test
public void testMetricConfiguredInFilterWithFilterEnabled()
{
when(archiausPropertyFactory.getBooleanProperty(eq("filter.graphite.metrics"), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_TRUE);
ConfigurableCodaHaleMetricFilter filter = new ConfigurableCodaHaleMetricFilter(archiausPropertyFactory);
when(archaiusPropertyFactory.getBooleanProperty(eq("filter.graphite.metrics"), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_TRUE);
ConfigurableCodaHaleMetricFilter filter = new ConfigurableCodaHaleMetricFilter(archaiusPropertyFactory);
assertTrue(filter.matches("this.metric.is.allowed", metric));
}

@Test
public void testMetricConfiguredInFilterWithFilterDisabled()
{
when(archiausPropertyFactory.getBooleanProperty(eq("filter.graphite.metrics"), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_FALSE);
ConfigurableCodaHaleMetricFilter filter = new ConfigurableCodaHaleMetricFilter(archiausPropertyFactory);
when(archaiusPropertyFactory.getBooleanProperty(eq("filter.graphite.metrics"), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_FALSE);
ConfigurableCodaHaleMetricFilter filter = new ConfigurableCodaHaleMetricFilter(archaiusPropertyFactory);
assertTrue(filter.matches("this.metric.is.allowed", metric));
}

@Test
public void testMetricNotConfiguredInFilterWithFilterEnabled()
{
when(archiausPropertyFactory.getBooleanProperty(eq("filter.graphite.metrics"), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_TRUE);
ConfigurableCodaHaleMetricFilter filter = new ConfigurableCodaHaleMetricFilter(archiausPropertyFactory);
when(archaiusPropertyFactory.getBooleanProperty(eq("filter.graphite.metrics"), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_TRUE);
ConfigurableCodaHaleMetricFilter filter = new ConfigurableCodaHaleMetricFilter(archaiusPropertyFactory);
assertFalse(filter.matches("this.metric.is.not.allowed", metric));
}

@Test
public void testMetricNotConfiguredInFilterWithFilterDisabled()
{
when(archiausPropertyFactory.getBooleanProperty(eq("filter.graphite.metrics"), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_FALSE);
ConfigurableCodaHaleMetricFilter filter = new ConfigurableCodaHaleMetricFilter(archiausPropertyFactory);
when(archaiusPropertyFactory.getBooleanProperty(eq("filter.graphite.metrics"), any(Boolean.class))).thenReturn(DYNAMIC_BOOLEAN_FALSE);
ConfigurableCodaHaleMetricFilter filter = new ConfigurableCodaHaleMetricFilter(archaiusPropertyFactory);
assertTrue(filter.matches("this.metric.is.not.allowed", metric));
}
}
2 changes: 1 addition & 1 deletion hystrix-contrib/hystrix-javanica/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ More about Spring AOP + AspectJ read [here] (http://docs.spring.io/spring/docs/c
## Aspect weaving
Javanica supports two weaving modes: implementation and runtime. Load time weaving hasn't been tested but it should work. If you tried LTW mode and got any problems then raise javanica issue or create pull request with fix.
- CTW. To use CTW mode you need to use specific jar version: **hystrix-javanica-ctw-X.Y.Z** . This jar is assembled with aspects compiled with using [AJC](https://eclipse.org/aspectj/doc/next/devguide/ajc-ref.html) compiler. If you will try to use regular hystrix-javanica-X.Y.Z with CTW then you get ``` NoSuchMethodError aspectOf() ``` at runtime from building with iajc. Also, you need to start your app with using java property: ```-DWeavingMode=compile```.
**NOTE**: Javanica depends on aspectj library and uses internal features of aspectj and these features aren't provided as a part of open API thus it can change from version to version. Javanica tested with latest aspectj version 1.8.7. If you updated aspectj version and noticed any issues then please don't hestitate to create new issue or contribute.
**NOTE**: Javanica depends on aspectj library and uses internal features of aspectj and these features aren't provided as a part of open API thus it can change from version to version. Javanica tested with latest aspectj version 1.8.7. If you updated aspectj version and noticed any issues then please don't hesitate to create new issue or contribute.
- RTW works, you can use regular hystrix-javanica-X.Y.Z
- LTM hasn't been tested but it should work fine.

Expand Down
10 changes: 5 additions & 5 deletions hystrix-contrib/hystrix-javanica/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ check.dependsOn test, ajcTest

ext {
aspectjVersion = '1.8.6'
springframeworkVesion = '4.3.2.RELEASE'
springframeworkVersion = '4.3.2.RELEASE'
}


Expand All @@ -100,10 +100,10 @@ dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation 'pl.pragmatists:JUnitParams:1.0.5'
testImplementation project(':hystrix-junit')
testImplementation "org.springframework:spring-core:$springframeworkVesion"
testImplementation "org.springframework:spring-context:$springframeworkVesion"
testImplementation "org.springframework:spring-aop:$springframeworkVesion"
testImplementation "org.springframework:spring-test:$springframeworkVesion"
testImplementation "org.springframework:spring-core:$springframeworkVersion"
testImplementation "org.springframework:spring-context:$springframeworkVersion"
testImplementation "org.springframework:spring-aop:$springframeworkVersion"
testImplementation "org.springframework:spring-test:$springframeworkVersion"
testImplementation 'cglib:cglib:3.1'
testImplementation 'org.mockito:mockito-all:1.9.5'
testImplementation 'log4j:log4j:1.2.17'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static Class[] getParameterTypes(JoinPoint joinPoint) {
}

/**
* Gets declared method from specified type by mame and parameters types.
* Gets declared method from specified type by name and parameters types.
*
* @param type the type
* @param methodName the name of the method
Expand All @@ -91,7 +91,7 @@ public static Method getDeclaredMethod(Class<?> type, String methodName, Class<?
try {
method = type.getDeclaredMethod(methodName, parameterTypes);
if(method.isBridge()){
method = MethodProvider.getInstance().unbride(method, type);
method = MethodProvider.getInstance().unbridge(method, type);
}
} catch (NoSuchMethodException e) {
Class<?> superclass = type.getSuperclass();
Expand Down
Loading