Ignore:
Timestamp:
Sep 4, 2018, 1:00:48 PM (6 years ago)
Author:
alloc
Message:

Code style cleanup (mostly whitespace changes, enforcing braces, using cleanup)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/Web/API/GetWebUIUpdates.cs

    r313 r325  
     1using System.Net;
    12using AllocsFixes.JSON;
    23using AllocsFixes.LiveData;
    3 using AllocsFixes.PersistentData;
    4 using System;
    5 using System.Collections.Generic;
    6 using System.Net;
    74
    8 namespace AllocsFixes.NetConnections.Servers.Web.API
    9 {
     5namespace AllocsFixes.NetConnections.Servers.Web.API {
    106        public class GetWebUIUpdates : WebAPI {
    11                 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user, int permissionLevel) {
     7                public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user,
     8                        int permissionLevel) {
    129                        int latestLine;
    13                         if (req.QueryString ["latestLine"] == null || !int.TryParse (req.QueryString ["latestLine"], out latestLine)) {
     10                        if (req.QueryString ["latestLine"] == null ||
     11                            !int.TryParse (req.QueryString ["latestLine"], out latestLine)) {
    1412                                latestLine = 0;
    1513                        }
     
    3735        }
    3836}
    39 
Note: See TracChangeset for help on using the changeset viewer.