Prep for repro+art rename
This commit is contained in:
parent
1e69054eb7
commit
79adfa251f
3 changed files with 8 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2015, Willem Cazander
|
||||
* Copyright (c) 2014-2015, Willem Cazander
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
|
|
@ -24,6 +24,8 @@ package net.forwardfire.tpquery.config.builder;
|
|||
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import org.apache.commons.lang3.builder.Builder;
|
||||
|
||||
/**
|
||||
* Abstract object builder with parent builder.
|
||||
*
|
||||
|
|
@ -34,7 +36,7 @@ import java.util.function.Consumer;
|
|||
* @author Willem Cazander
|
||||
* @version 1.0 May 29, 2015
|
||||
*/
|
||||
public abstract class AbstractTPQBuilder<P,T,B> {
|
||||
public abstract class AbstractTPQBuilder<P,T,B> implements Builder<P> {
|
||||
|
||||
private final P parent;
|
||||
private final T value;
|
||||
|
|
@ -63,6 +65,7 @@ public abstract class AbstractTPQBuilder<P,T,B> {
|
|||
* Builds the result.
|
||||
* @return The result.
|
||||
*/
|
||||
@Override
|
||||
public final P build() {
|
||||
buildParent();
|
||||
return getParent();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue