From 48799b684f9df556b473c3f9e4a1e02829cd6342 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Mon, 30 Sep 2013 17:59:45 -0700 Subject: [PATCH] Bug 418390 - ArrayIndexOutOfBoundsException in Chunk.putInt --- .../dom/cpp/PDOMCPPConstructorTemplateSpecialization.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPConstructorTemplateSpecialization.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPConstructorTemplateSpecialization.java index 1590333868a..6a3cf9b187a 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPConstructorTemplateSpecialization.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPConstructorTemplateSpecialization.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 QNX Software Systems and others. + * Copyright (c) 2007, 2013 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -22,11 +22,9 @@ import org.eclipse.core.runtime.CoreException; */ class PDOMCPPConstructorTemplateSpecialization extends PDOMCPPMethodTemplateSpecialization implements ICPPConstructor { - /** - * The size in bytes of a PDOMCPPConstructorTemplateSpecialization record in the database. - */ + /** The size in bytes of a PDOMCPPConstructorTemplateSpecialization record in the database. */ @SuppressWarnings("hiding") - protected static final int RECORD_SIZE = PDOMCPPFunctionSpecialization.RECORD_SIZE + 0; + protected static final int RECORD_SIZE = PDOMCPPMethodTemplateSpecialization.RECORD_SIZE + 0; public PDOMCPPConstructorTemplateSpecialization(PDOMCPPLinkage linkage, PDOMNode parent, ICPPConstructor constructor, PDOMBinding specialized) throws CoreException {