From e3733dd6c32b1d26bb3d03f8fcb7aab00f1c82a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20Smyku=C5=82a?= Date: Wed, 5 Aug 2015 11:08:41 +0200 Subject: [PATCH] small code improvment --- .../src/main/groovy/io/codearte/accurest/dsl/GroovyDsl.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accurest-core/src/main/groovy/io/codearte/accurest/dsl/GroovyDsl.groovy b/accurest-core/src/main/groovy/io/codearte/accurest/dsl/GroovyDsl.groovy index 93f65f6678..af046d188f 100644 --- a/accurest-core/src/main/groovy/io/codearte/accurest/dsl/GroovyDsl.groovy +++ b/accurest-core/src/main/groovy/io/codearte/accurest/dsl/GroovyDsl.groovy @@ -23,7 +23,7 @@ class GroovyDsl { } void priority(int priority) { - this.priority = new Integer(priority) + this.priority = priority } void request(@DelegatesTo(Request) Closure closure) {