From ef3f32f4931c6c54fc6615a9fb2089a517bed699 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 16 Dec 2016 14:58:22 +0100 Subject: [PATCH] Remove unused "hasTransactionManager" method Closes gh-7592 --- .../boot/orm/jpa/hibernate/SpringJtaPlatform.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/orm/jpa/hibernate/SpringJtaPlatform.java b/spring-boot/src/main/java/org/springframework/boot/orm/jpa/hibernate/SpringJtaPlatform.java index 004eb485c7..2c6dbb7575 100644 --- a/spring-boot/src/main/java/org/springframework/boot/orm/jpa/hibernate/SpringJtaPlatform.java +++ b/spring-boot/src/main/java/org/springframework/boot/orm/jpa/hibernate/SpringJtaPlatform.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,10 +44,6 @@ public class SpringJtaPlatform extends AbstractJtaPlatform { this.transactionManager = transactionManager; } - protected boolean hasTransactionManager() { - return true; - } - @Override protected TransactionManager locateTransactionManager() { return this.transactionManager.getTransactionManager();