Skip to content

Commit

Permalink
revert unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Feb 26, 2017
1 parent 489e32a commit 8b77dc8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
11 changes: 1 addition & 10 deletions Libraries/core/net40/Query/Builder/GraphPatternBuilder.cs
Expand Up @@ -39,7 +39,7 @@ sealed class GraphPatternBuilder : IGraphPatternBuilder
private readonly IList<GraphPatternBuilder> _childGraphPatternBuilders = new List<GraphPatternBuilder>();
private readonly IList<Func<INamespaceMapper, ISparqlExpression>> _filterBuilders = new List<Func<INamespaceMapper, ISparqlExpression>>();
private readonly IList<Func<INamespaceMapper, ITriplePattern[]>> _triplePatterns = new List<Func<INamespaceMapper, ITriplePattern[]>>();
private GraphPatternType _graphPatternType;
private readonly GraphPatternType _graphPatternType;
private readonly IToken _graphSpecifier;

/// <summary>
Expand All @@ -59,15 +59,6 @@ private GraphPatternBuilder(GraphPatternType graphPatternType)
_graphPatternType = graphPatternType;
}

private GraphPatternBuilder(GraphPatternBuilder graphPatternBuilder)
: this(graphPatternBuilder._graphPatternType)
{
_childGraphPatternBuilders = graphPatternBuilder._childGraphPatternBuilders.ToList();
_filterBuilders = graphPatternBuilder._filterBuilders.ToList();
_triplePatterns = graphPatternBuilder._triplePatterns.ToList();
_graphSpecifier = graphPatternBuilder._graphSpecifier;
}

internal GraphPatternBuilder(GraphPatternType graphPatternType, IToken graphSpecifier)
{
_graphPatternType = graphPatternType;
Expand Down
25 changes: 25 additions & 0 deletions Libraries/core/net40/Query/Builder/IGraphPatternBuilder.cs
@@ -1,3 +1,28 @@
/*
dotNetRDF is free and open source software licensed under the MIT License
-----------------------------------------------------------------------------
Copyright (c) 2009-2013 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using VDS.RDF.Query.Builder.Expressions;
using VDS.RDF.Query.Expressions;
Expand Down

0 comments on commit 8b77dc8

Please sign in to comment.