Skip to content

Commit

Permalink
Set version information in javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
joehni committed Dec 28, 2022
1 parent a41efe8 commit c0c14d0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions xstream/src/java/com/thoughtworks/xstream/XStream.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2003, 2004, 2005, 2006 Joe Walnes.
* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 XStream Committers.
* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
Expand Down Expand Up @@ -1151,7 +1151,7 @@ public void setMarshallingStrategy(final MarshallingStrategy marshallingStrategy
* typically use objects with exponential growing calculation times.
*
* @param maxSeconds limit in seconds or 0 to disable check
* @since upcoming
* @since 1.4.19
*/
public void setCollectionUpdateLimit(final int maxSeconds) {
collectionUpdateLimit = maxSeconds;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 XStream Committers.
* Copyright (C) 2021, 2022 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
Expand All @@ -20,7 +20,7 @@
* Utility functions for security issues.
*
* @author Jörg Schaible
* @since upcoming
* @since 1.4.19
*/
public class SecurityUtils {

Expand All @@ -32,7 +32,7 @@ public class SecurityUtils {
*
* @param context the unmarshalling context
* @param start the timestamp just before the element was added to the collection or map
* @since upcoming
* @since 1.4.19
*/
public static void checkForCollectionDoSAttack(final UnmarshallingContext context, final long start) {
final int diff = (int)((System.currentTimeMillis() - start) / 1000);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 XStream Committers.
* Copyright (C) 2021, 2022 XStream Committers.
* All rights reserved.
*
* Created on 21. September 2021 by Joerg Schaible
Expand All @@ -13,15 +13,15 @@
* General base class for a Security Exception in XStream.
*
* @author Jörg Schaible
* @since upcoming
* @since 1.4.19
*/
public abstract class AbstractSecurityException extends XStreamException {
private static final long serialVersionUID = 20210921L;

/**
* Constructs a SecurityException.
* @param message the exception message
* @since upcoming
* @since 1.4.19
*/
public AbstractSecurityException(final String message) {
super(message);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 XStream Committers.
* Copyright (C) 2021, 2022 XStream Committers.
* All rights reserved.
*
* Created on 21. September 2021 by Joerg Schaible
Expand All @@ -11,15 +11,15 @@
* Class for a Security Exception assuming input manipulation in XStream.
*
* @author Jörg Schaible
* @since upcoming
* @since 1.4.19
*/
public class InputManipulationException extends AbstractSecurityException {
private static final long serialVersionUID = 20210921L;

/**
* Constructs a SecurityException.
* @param message the exception message
* @since upcoming
* @since 1.4.19
*/
public InputManipulationException(final String message) {
super(message);
Expand Down

0 comments on commit c0c14d0

Please sign in to comment.