Skip to content

Commit

Permalink
Fixed wrong place of the deprecated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienCastex committed Jun 30, 2017
1 parent 3cfdc46 commit b6ed379
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
3 changes: 0 additions & 3 deletions lib/server/v2/webDAVServer/WebDAVServer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import * as startStop from './StartStop';
import * as https from 'https';
import * as http from 'http';
export declare type WebDAVServerStartCallback = (server?: http.Server) => void;
/**
* @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release.
*/
export declare class WebDAVServer {
httpAuthentication: HTTPAuthentication;
privilegeManager: PrivilegeManager;
Expand Down
3 changes: 0 additions & 3 deletions lib/server/v2/webDAVServer/WebDAVServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ var Path_1 = require("../../../manager/v2/Path");
var persistence = require("./Persistence");
var beforeAfter = require("./BeforeAfter");
var startStop = require("./StartStop");
/**
* @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release.
*/
var WebDAVServer = (function () {
function WebDAVServer(options) {
this.stop = startStop.stop;
Expand Down
3 changes: 3 additions & 0 deletions lib/server/webDAVServer/WebDAVServer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ import * as events from './Events';
import * as https from 'https';
import * as http from 'http';
export { WebDAVServerOptions } from '../WebDAVServerOptions';
/**
* @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release.
*/
export declare class WebDAVServer {
httpAuthentication: HTTPAuthentication;
privilegeManager: IPrivilegeManager;
Expand Down
3 changes: 3 additions & 0 deletions lib/server/webDAVServer/WebDAVServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ var resource = require("./Resource");
var events = require("./Events");
var WebDAVServerOptions_2 = require("../WebDAVServerOptions");
exports.WebDAVServerOptions = WebDAVServerOptions_2.WebDAVServerOptions;
/**
* @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release.
*/
var WebDAVServer = (function () {
function WebDAVServer(options) {
this.stop = startStop.stop;
Expand Down
3 changes: 0 additions & 3 deletions src/server/v2/webDAVServer/WebDAVServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ import * as http from 'http'

export type WebDAVServerStartCallback = (server ?: http.Server) => void;

/**
* @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release.
*/
export class WebDAVServer
{
public httpAuthentication : HTTPAuthentication
Expand Down
3 changes: 3 additions & 0 deletions src/server/webDAVServer/WebDAVServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ import * as http from 'http'

export { WebDAVServerOptions } from '../WebDAVServerOptions'

/**
* @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release.
*/
export class WebDAVServer
{
public httpAuthentication : HTTPAuthentication
Expand Down

0 comments on commit b6ed379

Please sign in to comment.